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 (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]