Re: loading nib files
Re: loading nib files
- Subject: Re: loading nib files
- From: Erik Buck <email@hidden>
- Date: Sun, 19 Feb 2006 19:26:17 -0500
You do want -loadNibNamed:owner:
The owner argument is the "hook" you will need to get variables
initialized with objects in the nib file. You might have noticed the
"File's Owner" icon in Interface Builder. That icon is a stand-in
for whatever object you specify as the owner when you call
loadNibNamed:owner:. Connections made to File's Owner in the nib wil
be re-established to the object you provide when you load the nib.
Of course, this really is territory well covered by available
documentation and examples.
http://developer.apple.com/documentation/Cocoa/Conceptual/
LoadingResources/Concepts/UsingMultiNibFiles.html
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSBundleAdditions.html#//
apple_ref/occ/clm/NSBundle/loadNibNamed:owner:
_______________________________________________
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