摘要: 今天读cocoa design patterns 引发的问题 alloc和allocwithzone的存在解决了很多问题,但是还是很疑惑。(随便说句 此书中文版翻译不靠谱。。。)下面是截自http://stackoverflow.com/的一段分析,虽然还没有体会,但是还是保留下来。When one object creates another, it’s sometimes a good idea to make sure they’re both allocated from the same region of memory. The zone method (declared in t 阅读全文
posted @ 2013-01-30 15:28 gagag 阅读(2718) 评论(0) 推荐(0) 编辑