NSDocument and Multiple NSWindowControllers
NSDocument and Multiple NSWindowControllers
- Subject: NSDocument and Multiple NSWindowControllers
- From: "Robbie Haertel" <email@hidden>
- Date: Tue, 05 Oct 2004 13:12:31 -0600
In my application, I have an NSDocument that controls three
NSWindowControllers. Everything is set up and working fine. Now, I want to
add a menu item (say, under view or perhaps window) that will allow the
user to hide/show two of the windows. The design could be thought of as one
"main window" (that won't be shown/hidden) and two auxiliary views.
However, the two views are complex enough to deserve their own controller
class. They also have their own nibs.
I'm not a 100% about how the responder chain will work in this situation.
Will my NSDocument get the message if none of the windows respond to it
(which I wouldn't want to do because I would have to implement the same code
in each of the windows)? How/where would be the best place to implement the
"hide/show" method?
Thanks in advance.
_________________________________________________________________
MSN Latino: el sitio MSN para los hispanos en EE.UU.
http://latino.msn.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden