• 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: Autorelease/Retain/Release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease/Retain/Release


  • Subject: Re: Autorelease/Retain/Release
  • From: Tim Davis <email@hidden>
  • Date: Tue, 24 Jul 2007 22:18:22 -0400

Thank you to everyone that responded. All of you have provided good insights as to how this works.

So from what I gather from you guys and reading the reference material it appears that using [autorelease] in my indexRoot and indexFile are correct, but I do not need my own autorelease pool, and in the same token I could be sure that the object is released by just going ahead and sending it a [release] and it would still be correct. As Charlton put it, the autorelease pool is sometimes quirky as to when it actually gets rid of objects, so I would actually be better off releasing it myself, and keeping the autorelease uses to things like looping through an XML doc or creating one (in this example anyways).
_______________________________________________


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: Autorelease/Retain/Release
      • From: mmalc crawford <email@hidden>
    • Re: Autorelease/Retain/Release
      • From: Daniel Staal <email@hidden>
References: 
 >Autorelease/Retain/Release (From: Tim Davis <email@hidden>)
 >Re: Autorelease/Retain/Release (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Autorelease/Retain/Release
  • Next by Date: Re: Autorelease/Retain/Release
  • Previous by thread: Re: Autorelease/Retain/Release
  • Next by thread: Re: Autorelease/Retain/Release
  • Index(es):
    • Date
    • Thread