• 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
NSDocument and Multiple NSWindowControllers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSDocument and Multiple NSWindowControllers
      • From: "Louis C. Sacha" <email@hidden>
    • Re: NSDocument and Multiple NSWindowControllers
      • From: "R. Scott Thompson" <email@hidden>
  • Prev by Date: Re: How to avoid warning with objc_msgSend
  • Next by Date: Re: NSDocument and Multiple NSWindowControllers
  • Previous by thread: Need to learn Quartz 2D programming
  • Next by thread: Re: NSDocument and Multiple NSWindowControllers
  • Index(es):
    • Date
    • Thread