Hi Sam,

It's autoreleased. Make sure you read this document, as it'll answer many of your questions:

<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html >

-- Tito

On 27 Jun 2008, at 5:56 AM, Sam Mo wrote:

Newbie here:

I am looking at the documentation in Xcode for the method uppercaseString in NSString class but it does not mention how the return NSString is being
released.

Will the return NSString be released when the originator be released? Or I have to release the return NSString separately? Or the return NSString will
just go away without any leak?

Thanks in advance for your help.
_______________________________________________

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/tciuro%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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]

Reply via email to