iOS strong 和weak的形象理解
摘要:
转自:http://hi.baidu.com/phone_lwc/item/c36e5bfe1cf9c313ce9f32be觉得讲的很容易理解Thedifferenceisthatanobjectwillbedeallocatedassoonastherearenostrongpointerstoit.Evenifweakpointerspointtoit,oncethelaststrongpointerisgone,theobjectwillbedeallocated,andallremainingweakpointerswillbezeroedout.Perhapsanexampleisi 阅读全文
posted @ 2013-07-06 15:58 王培 阅读(246) 评论(0) 推荐(0) 编辑