摘要:
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 阅读全文