Re: Who owns a child view controller?
Re: Who owns a child view controller?
- Subject: Re: Who owns a child view controller?
- From: Alex Zavatone <email@hidden>
- Date: Fri, 14 Jul 2017 08:51:21 -0500
> On Jul 14, 2017, at 5:50 AM, Jeremy Hughes <email@hidden>
> wrote:
>
>> On 12 Jul 2017, at 17:41, Jens Alfke <email@hidden> wrote:
>>
>>> On Jul 12, 2017, at 9:34 AM, Jeremy Hughes <email@hidden>
>>> wrote:
>>>
>>> // Prints "Why is childReference not nil?”
>>
>> There may still be a reference in the autorelease pool. Check childReference
>> again ‘later’, i.e. on the next user event or after a timer/delayed-perform.
>
> Jens is correct. Here’s a modified version of the playground code that adds
> an autorelease pool:
In the interest of getting more of a clue in regards to these items, is it
possible to examine the autorelease pools?
Alex Zavatone
_______________________________________________
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