> On Dec 17, 2016, at 18:19, David Duncan <david.dun...@apple.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com