Re: Autorelease Question
Re: Autorelease Question
- Subject: Re: Autorelease Question
- From: Kiel Gillard <email@hidden>
- Date: Fri, 21 Nov 2008 15:36:36 +1100
On 21/11/2008, at 2:55 PM, Adam Leonard wrote:
I think this is a bug in the documentation. I am curious to know
what others think.
While your discovery is interesting, maybe we're not supposed to know
how NSString is implemented. Even if on your computer you do not get
double free messages in your run log, a crash or whatever, I'm all for
keeping the memory management rules simple and treating anything that
doesn't contain "alloc] init...]" or "new]" as autoreleased.
Kiel
Adam Leonard
_______________________________________________
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
_______________________________________________
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