Re: NSString memory management question
Re: NSString memory management question
- Subject: Re: NSString memory management question
- From: Rick Mann <email@hidden>
- Date: Tue, 22 Apr 2008 16:08:20 -0700
On Apr 22, 2008, at 3:51 PM, Shawn Erickson wrote:
We don't know how you created the CFStringRef so we cannot say. The
answer depends on the create/get rule of the Core Foundation method
you used. Additionally it depends on the contract you want to present
to clients for the createStringDescriptor.
Sorry, I thought saying "created" was clear. I actually call a
CreateXXX function.
what happens in -lowercaseString? How does that get released?
Review...
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
>
Okay, I think from that, the string is automagically freed. Thanks!
--
Rick
_______________________________________________
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