Fresh Swift
  • About
  • Tags
Fresh Swift

#Lifetime


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 

 •  2019  •  Fresh Swift

Hugo v0.20.7 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo