Re: NSReleasePool issue
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