• 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: NSReleasePool issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSReleasePool issue


  • Subject: Re: NSReleasePool issue
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 22 Jun 2014 23:29:27 +0200

On 21 Jun 2014, at 22:01, Scott Ribe <email@hidden> wrote:
> On Jun 21, 2014, at 12:16 PM, Kyle Sluder <email@hidden> wrote:
>
>> And as far as I can remember, developers have _always_ been responsible for setting up a backstop autoreleasepool.
>
> Never.

 On Mac, Scott is right. On iOS, this seems to be what Apple’s developers seem to be arguing for, so Kyle’s recollection isn’t wrong. You also used to have to create your own autorelease pool for threads. But there you often had a main loop of some sort, so were able to periodically drain it through the loop. That’s not really possible with UIApplicationMain().

Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de


_______________________________________________

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


References: 
 >NSReleasePool issue (From: Varun Chandramohan <email@hidden>)
 >Re: NSReleasePool issue (From: Steve Christensen <email@hidden>)
 >Re: NSReleasePool issue (From: Sean McBride <email@hidden>)
 >RE: NSReleasePool issue (From: Varun Chandramohan <email@hidden>)
 >Re: NSReleasePool issue (From: Kyle Sluder <email@hidden>)
 >Re: NSReleasePool issue (From: Jens Alfke <email@hidden>)
 >Re: NSReleasePool issue (From: Kyle Sluder <email@hidden>)
 >Re: NSReleasePool issue (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • Next by Date: Re: NSReleasePool issue
  • Previous by thread: Re: NSReleasePool issue
  • Next by thread: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • Index(es):
    • Date
    • Thread