Singleton: Difference between revisions

Content added Content deleted
No edit summary
Line 61: Line 61:
@implementation SomeSingleton
@implementation SomeSingleton


+ (GameController*) sharedInstance
+ (SomeSingleton*) sharedInstance
{
{
static sharedInstance = nil;
static sharedInstance = nil;