Limits on closure capture semantics for preventing strong reference cycles
Goal Identify and mitigate a memory leak caused by a strong reference cycle between an object and a closure that captures self . Constraints The Swift language does not enforce a default capture list; developers must explicitly choose [weak self] or [unowned self] . Choosing incorrectly can lead to leaks or crashes. Unresolved Decision When a closure is reta