Re: 1 controller, 1 nib, 2 windows?
Re: 1 controller, 1 nib, 2 windows?
- Subject: Re: 1 controller, 1 nib, 2 windows?
- From: Robbie Haertel <email@hidden>
- Date: Thu, 11 Nov 2004 16:08:07 -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.
On Thu, 11 Nov 2004 16:02:32 -0700, Scott Ribe
<email@hidden> wrote:
> > why not have two window outlets?
>
> Because I'm new to Cocoa and I assumed that NSWindowController had some
> setup or use (or voodoo) of the window outlet of which I was unaware ;-)
>
> If that's not the case, if it just finds the connected window after the nib
> is loaded and assigns window, then yes that would do what I want--very
> easily.
>
> Thanks for pointing me in the right direction.
>
>
>
>
> --
> 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
>
_______________________________________________
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