摘要: Memory management in a Cocoa application that doesn’t use garbage collection is based on a reference counting model. When you create or copy an object, itsretain countis 1. Thereafter other objects may express an ownership interest in your object, which increments its retain count. The owners of an 阅读全文
posted @ 2011-06-27 10:07 AlexFan 阅读(593) 评论(0) 推荐(0) 编辑