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…