• 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: NSView Docs. Was: Binding -- or not -- a button created in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView Docs. Was: Binding -- or not -- a button created in code


  • Subject: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 9 Jul 2010 10:19:20 -0400
  • Organization: Rogue Research Inc.

On Thu, 8 Jul 2010 15:01:19 -0700, Jerry Krinock said:

>Well, I'm still using -[NSView viewWillMoveToWindow:] to remove my
>observers and unbind my bindings, with no problems.  But I'm still
>scared that someday it might not be invoked when a window is closed.  So
>I filed a bug on the documentation.
>
>Problem ID: 8172493
>
>Title: -[NSView viewWillMoveToWindow:] always invoked when closed?

mmalc has some comments on unbinding here:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html#unbinding>

Note that if you use NSView's fullscreen method, viewWillMoveToSuperview
is invoked with a nil parameter. :(

I filed <rdar://5497135> about this.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

  • Follow-Ups:
    • Re: NSView Docs. Was: Binding -- or not -- a button created in code
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: NSView Docs. Was: Binding -- or not -- a button created in code (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSXMLParser parses line feeds in attribute strings as spaces
  • Next by Date: Re: Another basic CoreData question
  • Previous by thread: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • Next by thread: Re: NSView Docs. Was: Binding -- or not -- a button created in code
  • Index(es):
    • Date
    • Thread