News for hackers. Stuff that matters.
Re:IOS Boilerplate: A base template for iOS apps by lukeredpath on Wednesday September 14, 2011 @06:50PM (#2998169)
I'm no fan of singletons either, but writing one with GCD dispatch_once is pretty simple. Nevertheless, I do have a macro for it:

http://lukeredpath.co.uk/blog/a-note-on-objective-c-singleto...

It's really for creating "shared" instances rather than true singletons, but who honestly needs a real singleton?

Re:IOS Boilerplate: A base template for iOS apps by alexbell on Wednesday September 14, 2011 @08:11PM (#2998380)
This is cool!