Re: Calling NIB
Re: Calling NIB
- Subject: Re: Calling NIB
- From: Brett Powley <email@hidden>
- Date: Tue, 24 Jun 2008 09:03:55 +1000
You need a controller object (typically a NSWindowController subclass)
with IBOutlets for each of the things in your window you want to
control from code. Then in Interface Builder you set the class of
your NIB File's Owner to your subclass of NSWindowController, and
connect each of the things you want to access to the correct IBOutlet
in your NSWindowController.
(Doing the Currency Converter tutorial -- the one without bindings --
might be a good start for you.)
On 24/06/2008, at 6:43 AM, J. Todd Slack wrote:
Hello All,
I have a Windows in a NIB that contains a tab control.
From AS, how can I call the window in the NIB and select the tab
that I want?
I know that:
load bib will load,, but I dont see how to access windows inside the
nib and further how to access objects inside the windows inside the
NIB.
Any thoughts?
Thanks!
-Jason
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Calling NIB (From: "J. Todd Slack" <email@hidden>) |