我正在經歷和更換@synthesized(個體)鎖定重量/該方法 void _ThreadsafeInit(Class theClassToInit, void *volatile *theVariableItLivesIn, void(^InitBlock)(void))
{
//this is what super does :X
struct objc_super my
隨着ARC的出現,一些新的功能可供開發人員使用弱引用的對象。 id objc_loadWeak(id *location)就是其中之一。這個函數接收一個參數,對應於存儲弱對象的內存中的一個位置,如果它仍然存在則返回該對象,或者如果它被釋放,則返回nil。 看來,當一個對象obj與id objc_storeWeak(id *location, id obj)存儲爲weak在一個位置location,