Re: Referencing specific window in NIB file
Re: Referencing specific window in NIB file
- Subject: Re: Referencing specific window in NIB file
- From: "Paulo F. Andrade" <email@hidden>
- Date: Tue, 28 Aug 2007 01:38:16 +0100
In your nib file, assign your NSWindowController subclass to "File's
Owner".
In your subclass create another outlet for your second window, and
then connect them in IB.
That's it.
When you load your nib file using your NSWindowController subclass
the outlets will be connected.
Paulo F. Andrade 52439@IST
mailto: email@hidden
On 2007/08/28, at 01:14, Devraj Mukherjee wrote:
Hi Everyone,
I have an NIB file with two Windows in it. I can successfully
instantiate a Window with by extending NSWindowController.
If I have more than one Window in the NIB, how do I reference a
specific window from the Window controllers?
Or have shouldn't I be doing this.
Thanks.
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40mega.ist.utl.pt
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden