Advanced Memory Debugging with Xcode Tools
summary
Xcode memory tools reproduce real leaks: the memory usage viewer shows spikes, the memory graph snapshot reveals strong reference cycles, and the live demo proves fixes work. Examples include changing delegates to weak and adding `AnyObject` to protocols so weak applies, converting a closure capture to a weak cell capture, and removing stuck view controllers. Verification shows fewer retained instances and a runtime drop of about 1-2 MB after fixes.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:00Skiing
- 2:38Background Knowledge
- 5:37Xcode Memory Tools
- 7:21Common Code Pitfalls
- 11:37Live Demo
- 12:27Demo
- 18:52Account Screens
- 24:49Debugging Tips
related talks
36mThe Memory Leak Brain Drain – Workshop
06mYour app crashes my browser
47mHow I Learned To Stop Worrying and Love Autolayout
33mScaling Swift Development
30mVisualizing process evolution
27mTwo memory leak stories in the story of flipkart.com
29mQuick Wins to Improve Your App’s Performance
37mVisualizing Persistent Data Structures
