blob: 5b2b54925e324637f5269a6296f7bedb5d596a5c [file] [log] [blame]
#import "Thing.h"
@interface Thing ()
@end
@implementation Thing
+ (instancetype)thing {
static Thing* thing = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
thing = [[[self class] alloc] init];
});
return thing;
}
- (void)sayHello {
NSLog(@"Hello World");
}
@end