摘要:
1. 关于dispatch_oncedispatch_onceExecutes a block object once and only once for the lifetime of an application.在stackoverflow上有个对dispatch_once的解释,非常棒:What's the exact reason for using dispatch_once in the shared instance accessor of a singleton under ARC?+(MyClass*)sharedInstance{// Static local p 阅读全文
posted @ 2013-09-04 13:07
做个不善的人
阅读(240)
评论(0)
推荐(0)