Re: Memory management and returned values from methods...
Re: Memory management and returned values from methods...
- Subject: Re: Memory management and returned values from methods...
- From: Kevin Muldoon <email@hidden>
- Date: Fri, 15 Jul 2011 19:15:59 -0400
You make a very compelling point.
On Jul 15, 2011, at 4:36 PM, Scott Ribe wrote:
> On Jul 15, 2011, at 1:38 PM, Kevin Muldoon wrote:
>
>> However, there must be a better way than giving up control of releasing my objects to NSAutoreleasePool.
>
> How is this giving up control? There's always an NSAutoreleasePool provided by the run loop which cleans up between handling events; all you're doing is adding one that will clean up sooner.
>
> --
> Scott Ribe
> email@hidden
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
>
>
>
Kevin Muldoon
e: email@hidden
_______________________________________________
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