• 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: 1 controller, 1 nib, 2 windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1 controller, 1 nib, 2 windows?


  • Subject: Re: 1 controller, 1 nib, 2 windows?
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 11 Nov 2004 16:15:11 -0700

> NSWindowController uses the _window outlet for showWindow cascading
> the windows in relation to other window controllers, and interaction
> with the NSDocument.  Notice that applying showWindow will only work
> on the window that is connected, unless of course you override it to
> take into account your second window.  But if you aren't planning on
> using anything fancy, then you will be fine.

Nothing fancy like that. In fact, the windows in question are dialogs that
will only be used as sheets--not much opportunity for cascading or layering
options there ;-) Even if it were, I suppose I could add window1 & window2
outlets, hook those up in IB, then setWindow with the currently needed one
before calling showWindow.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
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

References: 
 >Re: 1 controller, 1 nib, 2 windows? (From: Robbie Haertel <email@hidden>)

  • Prev by Date: column headers
  • Next by Date: Re: Confirming NSTextField when a button is pressed
  • Previous by thread: Re: 1 controller, 1 nib, 2 windows?
  • Next by thread: Re: 1 controller, 1 nib, 2 windows?
  • Index(es):
    • Date
    • Thread