Re: Release Mutable Copy?
Re: Release Mutable Copy?
- Subject: Re: Release Mutable Copy?
- From: Greg Titus <email@hidden>
- Date: Wed, 12 Nov 2003 19:34:38 -0800
On Nov 12, 2003, at 6:47 PM, Darwin Zins wrote:
When I do this:
phoneNumbers = [[newMacABEntry valueForProperty:
kABPhoneProperty] mutableCopy];
When I am finished with phoneNumbers do I have to release it?
Yes. Any time you alloc/retain/copy an object (including modified forms
of those methods like allocWithZone: and mutableCopy), you eventually
need to release it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.