Re: stringWithFormat
Re: stringWithFormat
- Subject: Re: stringWithFormat
- From: Roland King <email@hidden>
- Date: Mon, 20 Oct 2008 16:59:32 +0800
Ron Green wrote:
stringWithFormat: returns an NSString that is autoreleased. I know
this because I read it in Hillegasses book. But since this does not
seem to be covered in the documentation, if I had not read it in a
book, how would I discover that the NSString was autoreleased?
_______________________________________________
because it's covered in the documentation.
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
and pages linked from there.
Which has reminded me that copy is in there and now I think I have a
memory leak in something I've been writing. Thanks!
_______________________________________________
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