On Thu, Apr 3, 2008 at 9:18 PM, Dmitry Markman <[EMAIL PROTECTED]> wrote:
> I just thought that all those 5 methods are CREATION methods they are not > GET methods > so how do I know which one I should release? You're way over analyzing this. Does the *method name* contain the words alloc, new, copy or mutableCopy? If yes, then call release. Otherwise, it will be put in the autorelease pool. You're going into the *documentation* and looking for those words. The paradigm is based on method names, however, so that you don't have to go to the documentation while you're coding. _______________________________________________ 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 [EMAIL PROTECTED]