• 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: Referencing specific window in NIB file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Referencing specific window in NIB file (From: "Devraj Mukherjee" <email@hidden>)

  • Prev by Date: NSTokenField won't autocomplete non-alphanumeric chars
  • Next by Date: Re: CoreData/Bindings : adding/updating records with 2 entities at the same time
  • Previous by thread: Re: Referencing specific window in NIB file
  • Next by thread: NSTokenField won't autocomplete non-alphanumeric chars
  • Index(es):
    • Date
    • Thread