Re: About NSEnumerator
Re: About NSEnumerator
- Subject: Re: About NSEnumerator
- From: "I. Savant" <email@hidden>
- Date: Wed, 18 Apr 2007 12:10:34 -0400
On 4/18/07, Jay <email@hidden> wrote:
The question is that, should the declared vairable "object" be released after this loop has ended, or just leave it alone? If so, should it be released inside each loop, at the ending?
You didn't create the object, so you're not responsible for releasing it:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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