Re: Best way to get outlet from one NIB to another NIB
Re: Best way to get outlet from one NIB to another NIB
- Subject: Re: Best way to get outlet from one NIB to another NIB
- From: Matt Neuburg <email@hidden>
- Date: Sun, 7 Nov 2010 08:13:37 -0800
On Tue, 2 Nov 2010 12:51:07 -0600, email@hidden said:
>I would like to get a menu item in main mneu nib pointed to a outlet
>reference in another NIB.
>Is there a preferred pattern/method to do so
If you think you can make an outlet from one nib to another, you don't understand what a nib is, what an outlet is, or what happens when a nib loads. There are no instances based on a nib until the nib loads. Arranging things so that you have a reference to nib-loaded instances that you need is up to you, and you'll typically do it right after the nib loads, since that's when all the pieces are in your hands. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________
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