Archive for the ‘ Development ’ Category
The Singleton design pattern is widely spread when developing software with the Cocoa (touch) framgework. A Singleton makes sure, that only one object of your class is allocated. When using the template a cocoa class file with 2 additions will be generated: -a static pointer to the singleton object -a static method to access the singleton object: shared<<CLASSNAME>> Template [ READ MORE ]