LinkedIn·Mobile Engineer·Technical Phone Screen
- How does ARC work, and what makes it different from garbage collection?
- Walk me through strong, weak, and unowned references and when you'd use each.
- What causes retain cycles and how do you break them, particularly in closures and delegate patterns?
- What are autorelease pools and when would you actually need to use one manually?
- How do you diagnose memory leaks in an iOS app? What tools do you reach for?
“I knew this one cold.”