Singletons and dispatch_once
Cocoa Samurai: Singletons: You're doing them wrong:
"If you must use singletons, use dispatch_once()"
In short: dispatch_once is thread-safe.
"If you must use singletons, use dispatch_once()"
In short: dispatch_once is thread-safe.