Re: Who owns a child view controller?
Re: Who owns a child view controller?
- Subject: Re: Who owns a child view controller?
- From: Jens Alfke <email@hidden>
- Date: Wed, 12 Jul 2017 17:32:57 -0700
> On Jul 12, 2017, at 2:57 PM, Jeremy Hughes <email@hidden>
> wrote:
>
> I’m trying to understand memory management so I can avoid retain cycles and
> other issues.
That’s fine. But using a weak reference to try to detect when an object gets
dealloced is fraught with peril, viz. this entire thread :)
If you want to find out if your code is leaking by creating reference cycles,
just run it and ask either Instruments or Xcode to find leaks.
—Jens
_______________________________________________
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