• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opposite of windowDidLoad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Opposite of windowDidLoad (From: Daryle Walker <email@hidden>)

  • Prev by Date: Opposite of windowDidLoad
  • Next by Date: Re: Enabling UISearchBar cancel button?
  • Previous by thread: Opposite of windowDidLoad
  • Next by thread: Re: Opposite of windowDidLoad
  • Index(es):
    • Date
    • Thread