1 min readJun 28, 2019
Great post! I never though about the `guard let self` vs. optional chaining issue.
I always use [unowned self] when I'm presenting a view controller modally and passing some form of "completion handler" closure to it that captures the presenting view controller. Because of how modal presentation works, it is typically impossible for the presenting vc to be deallocated before the closure completes and the modal view controller is dismissed.