Understanding reference counting with Cocoa and Objective-C

后端 未结 14 1736
攒了一身酷
攒了一身酷 2020-11-22 16:46

I\'m just beginning to have a look at Objective-C and Cocoa with a view to playing with the iPhone SDK. I\'m reasonably comfortable with C\'s malloc and f

14条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 17:30

    As ever, when people start trying to re-word the reference material they almost invariably get something wrong or provide an incomplete description.

    Apple provides a complete description of Cocoa's memory management system in Memory Management Programming Guide for Cocoa, at the end of which there is a brief but accurate summary of the Memory Management Rules.

提交回复
热议问题