[GCD]使用dispatch_once实现单例 写代码时经常看到使用dispatch_once实现的单例模式,恰好《Effective Objective-C 2.0》书中有提到,记录一下 2020-11-06 xyzhang iOS GCD