Find and fix retain cycles, abandoned memory, and leaks in an iOS app using Instruments, the memory graph, and ARC reasoning.
## CONTEXT An iOS app's memory keeps growing during use and the process occasionally gets terminated by the system for excessive memory. The developer suspects retain cycles and abandoned memory but lacks a rigorous method to locate them and fix them correctly rather than guessing. The app uses closures stored on…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro