• 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 window] returns nil if its NSTabView not selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSView window] returns nil if its NSTabView not selected


  • Subject: Re: -[NSView window] returns nil if its NSTabView not selected
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 8 Jan 2009 07:17:52 -0800

Thank you for your usual good explanation, Quincey.

A couple more wrinkles which I was not sure about but confirmed by testing...

-[NSView viewDidMoveToWindow] ...
  is also invoked for views not in tabs, before -awakeFromNib
  is invoked whenever a view is moved into or out from a window,
     which, for a view in an NSTabView, means whenever the tab is
     selected or deselected.

So, I need to review all of my -awakeFromNibs and consider all of this.

_______________________________________________

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: 
 >-[NSView window] returns nil if its NSTabView not selected (From: Jerry Krinock <email@hidden>)
 >Re: -[NSView window] returns nil if its NSTabView not selected (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: App Listener?
  • Next by Date: Re: Custom tracking in a NSTextFieldCell
  • Previous by thread: Re: -[NSView window] returns nil if its NSTabView not selected
  • Next by thread: App Listener?
  • Index(es):
    • Date
    • Thread