Sunday, July 18, 2010 [Tweets] [Favorites]


Mike Ash:

MAZeroingWeakRef brings zeroing weak references to manual memory managed Objective-C. Although it uses some trickery on the inside, the API is extremely simple to use. By automatically zeroing weak references, you avoid many potential crashers and data corruption. Zeroing weak references can also be used for things like object caches where non-zeroing weak references aren’t very practical at all.


Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment