Re: Who owns a child view controller?
Re: Who owns a child view controller?
- Subject: Re: Who owns a child view controller?
- From: Charles Srstka <email@hidden>
- Date: Fri, 14 Jul 2017 09:12:55 -0500
> On Jul 14, 2017, at 8:51 AM, Alex Zavatone <email@hidden> wrote:
>
>
>> 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
No, autorelease pools have always been maddeningly opaque. You can examine a
particular object in Instruments though, to see when it’s been autoreleased.
Charles
_______________________________________________
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