Re: Releasing modal view controller properly
Re: Releasing modal view controller properly
- Subject: Re: Releasing modal view controller properly
- From: Steve Mills <email@hidden>
- Date: Sat, 17 Dec 2016 18:27:57 -0600
> On Dec 17, 2016, at 18:19, David Duncan <email@hidden> wrote:
>
> MyViewController *vc = [[MyViewController alloc] init];
What if you store that in a property of an object that persists as long as the window does? I'm guessing it's being deallocated before you think because of that release.
Steve via iPad
_______________________________________________
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