Re: Opposite of windowDidLoad
Re: Opposite of windowDidLoad
- Subject: Re: Opposite of windowDidLoad
- From: Sandor Szatmari <email@hidden>
- Date: Thu, 12 Jan 2017 07:43:52 -0500
If the window has the same lifespan as the controller, why not dealloc? Otherwise, wherever your closing your window.
Sandor
> On Jan 12, 2017, at 06:46, Daryle Walker <email@hidden> wrote:
>
> I was thinking of adding a Cocoa Binding during my window-controller's did-load method. But where would the unbinding go? I see waiting until deinit or implementing NSWindowDelegate and using windowWillClose.
>
> Is there a similar access point for view-controllers?
>
> Sent from my iPhone
> _______________________________________________
>
> 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
_______________________________________________
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