This question evaluates a candidate's understanding of iOS memory management under ARC, covering compile-time reference counting, ownership qualifiers (strong/weak/unowned), common retain-cycle sources and mitigation, autorelease pools, and use of Xcode memory-debugging tools.
You have 10 minutes to explain iOS memory management under ARC.
Cover the following:
@autoreleasepool { ... }
.
Assume Swift + UIKit/SwiftUI context unless you state otherwise.