On May 19, 2010, at 1:48 am, Sai wrote: > 1. Look at the awakeFromNib method of Controller, my output of the retain > count to the console are > myModel retain count: 5 > controller retain count: 17 > both number are very surprised me, why is that? I suppose they should be 2 > or 1? > Can anyone explain please? > The documentation is abundantly clear on this issue: <http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html#//apple_ref/occ/intfm/NSObject/retainCount>
mmalc _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com