https://github.com/prayash/retain-cycle
Dummy iOS app to illustrate retain cycles and memory leaks in closures
https://github.com/prayash/retain-cycle
ios memory-management swift
Last synced: about 2 months ago
JSON representation
Dummy iOS app to illustrate retain cycles and memory leaks in closures
- Host: GitHub
- URL: https://github.com/prayash/retain-cycle
- Owner: prayash
- Created: 2019-11-27T02:31:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T02:34:54.000Z (over 5 years ago)
- Last Synced: 2024-12-24T10:34:35.586Z (5 months ago)
- Topics: ios, memory-management, swift
- Language: Swift
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## retain-cycle
Dummy iOS app to illustrate retain cycles and memory leaks in closures. These memory leaks can be detected using Instruments inside of Xcode. Use the 'Leaks' profiling template.
### Further reading:
- https://krakendev.io/blog/weak-and-unowned-references-in-swift
- https://medium.com/flawless-app-stories/unowned-vs-weak-614ac71ac516
- https://doordash.engineering/2019/05/22/ios-memory-leaks-and-retain-cycle-detection-using-xcodes-memory-graph-debugger/