• 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: loading nib files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: loading nib files
  • Next by Date: Re: Checkbox binding calling "set" only when checked
  • Previous by thread: Re: loading nib files
  • Next by thread: SQLite3 GUI
  • Index(es):
    • Date
    • Thread