Re: Methods that return autoreleased objects?
Re: Methods that return autoreleased objects?
- Subject: Re: Methods that return autoreleased objects?
- From: Charles Srstka <email@hidden>
- Date: Sat, 28 Jun 2008 23:59:11 -0500
On Jun 28, 2008, at 7:43 PM, Markus Spoettl wrote:
Methods that begin with "alloc" or "new" or contain "copy" will
return objects you are responsible for. All other objects returned
from methods are taken care of.
Well, there is the notable exception of top-level objects loaded from
a NIB file, which do need to be released.
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden