摘要:
_contents = [[NSMutableArrayalloc] init];//[_contentsretainCount] 为 1self.contents = [[NSMutableArrayalloc] init];//[_contentsretainCount] 为 2所以self.contents要慎用if (_contents) { [_contents release]; self.contents = nil;}知道这一句为什么为异常吗?它的展开为:if(_contents){ [_contentsrelease]; if(_contents) ... 阅读全文
posted @ 2014-03-13 13:07
lao cai
阅读(116)
评论(0)
推荐(0)
浙公网安备 33010602011771号