阅读背景:

使用dispatch_once实现单例

来源:互联网 

很多人实现单例会这样写:

@implementation XXClass + (id)sharedInstance { id)sh



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: