An iOS alert view with a text field and a “smart” OK button
This is a very interesting post from Ole Bergmann, in which he demonstrates an approach to keeping an object alive by intentionally capturing it in a closure. Not an approach I had previously considered.
Posted on August 20, 2018
#iOS
#state
#closure
#lifetime