Skip navigation.
 
mlNSDocument and Multiple NSWindowControllers
FROM : Robbie Haertel
DATE : Tue Oct 05 21:12:31 2004

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/

Related mailsAuthorDate
mlNSDocument and Multiple NSWindowControllers Robbie Haertel Oct 5, 21:12
mlRe: NSDocument and Multiple NSWindowControllers R. Scott Thompson Oct 5, 21:28
mlRe: NSDocument and Multiple NSWindowControllers Louis C. Sacha Oct 6, 12:46