摘要:
1、内存管理-黄金法则The basic rule to apply is everything that increases the reference counter with alloc, [mutable]copy[withZone:] or retain is in charge of the corresponding [auto]release.如果对一个对象使用了alloc、[mutable]copy、retain,那么你必须使用相应的release或者autorelease。类型定义: 基本类型:任何C的类型,如:int、short、char、long、struct、enu. 阅读全文
posted @ 2013-09-29 17:23 GISerYang 阅读(6606) 评论(2) 推荐(1) 编辑