[categories] [index] [all (552)] [latest]
+(MyClass *)sharedInstance {
static MyClass *sharedInstance = nil;
static dispatch_once_t pred;
dispatch_once(&pred, ^{
sharedInstance = [[MyClass alloc] init];
});
return sharedInstance;
}