
Explain how memory management works in iOS applications. Cover ARC, strong/weak/unowned references, common sources of retain cycles, and how you prevent leaks or excessive memory use in practice.
How ARC manages object lifetimeWhen to use strong, weak, and unownedHow retain cycles happen in delegates, closures, and timersHow to detect and debug memory issuesHow to reduce memory footprint beyond just fixing leaks