+ (MyPDFModel *)instance {
#ifdef DEBUGX
NSLog(@"%s", __FUNCTION__);
#endif
static MyPDFModel *instance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
instance = [[self alloc] init];
});
return instance;
#ifdef DEBUGX
NSLog(@"%s", __FUNCTION__);
#endif
static MyPDFModel *instance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
instance = [[self alloc] init];
});
return instance;
}
高级iOS开发技术交流群:415239068,欢迎大家加入