Re: -[NSView window] returns nil if its NSTabView not selected
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