Index ¦ Archives ¦ RSS > Tag: cocoa

Implementing a Singleton in iOS

This is a repost from my old blog.

While I was at Apple’s Cocoa Camp over summer, one of the speakers talked rather passionately about the proper, thread-safe way to implement a singleton in iOS, which I thought deserves more attention than it currently does on the Web.

The …

© James Lim. Built using Pelican. Theme by Giulio Fidente on github.