Closed colemancda closed 10 years ago
Singletons in the examples should use dispatch_once_t as per
dispatch_once_t
+ (instancetype)sharedInstance { static dispatch_once_t once; static id sharedInstance; dispatch_once(&once, ^ { sharedInstance = [self new]; }); return sharedInstance; }
Singletons in the examples should use
dispatch_once_t
as per