+ (RootScrollView *)shareInstance;
+ (RootScrollView *)shareInstance {
static RootScrollView *__singletion;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
__singletion=[[self alloc] initWithFrame:CGRectMake(0, 44, 320, [Globle shareInstance].globleHeight-44)];
});
return __singletion;
}
单例设置
最新推荐文章于 2024-03-29 14:18:54 发布