Objective-C Singleton Macro

My friend Paddy showed me an awesome macro for generating single classes, shown here. You’d use it like:


//instance methods go here!


This is pretty sweet - if you’re using the Singleton pattern a lot, and let’s face it, it’s always something we mean to do, this is a lifesaver since Singleton code is all copy-and-paste.

Please submit typo corrections on GitHub