• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory management and returned values from methods...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory management and returned values from methods...


  • Subject: Re: Memory management and returned values from methods...
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 15 Jul 2011 14:36:49 -0600

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




_______________________________________________

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

  • Follow-Ups:
    • Re: Memory management and returned values from methods...
      • From: Kevin Muldoon <email@hidden>
References: 
 >Memory management and returned values from methods... (From: Kevin Muldoon <email@hidden>)

  • Prev by Date: Re: Memory management and returned values from methods...
  • Next by Date: Re: CFString literal contains NUL character
  • Previous by thread: Re: Memory management and returned values from methods...
  • Next by thread: Re: Memory management and returned values from methods...
  • Index(es):
    • Date
    • Thread