Memory Management
ARC, ownership, and the cycles that leak when ownership is unclear.
0%
0 of 4 complete
4 concepts · about 32 minutes of reading · 4 interview questions
- Not startedIntermediate9 min
Automatic Reference Counting
How Swift knows when an object is no longer needed — and why it can be wrong.
- Not startedIntermediate8 min
Retain Cycles
When two objects keep each other alive and ARC can never free either.
- Not startedIntermediate7 min
Weak vs Unowned
Two ways to reference something without keeping it alive — and the crash that separates them.
- Not startedAdvanced8 min
Closure Capture
Capture lists, and deciding what a stored closure should keep alive.
Quiz this category
Ten questions drawn from everything in Memory Management.