I just want to confirm that UIAlertAction's handler is a non-escaping lambda function?
I did ctrl + right-click and looked up the UIAlertAction definition and it does not look escaping by default. Which means I should do
weak var wself = self
and use wself instead of self inside all UIAlertAction completion blocks?
Under UIKit>UIAlertController I see
open class UIAlertAction : NSObject, NSCopying {
public convenience init(title: String?, style: UIAlertAction.Style, handler: ((UIAlertAction) -> Void)? = nil)
where the handler does not show @escaping