• 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: Creating nib files for multi-nib apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating nib files for multi-nib apps


  • Subject: Re: Creating nib files for multi-nib apps
  • From: j o a r <email@hidden>
  • Date: Mon, 20 Aug 2001 15:50:40 +0200

On Monday, August 20, 2001, at 03:33 , Sam Goldman wrote:

1) in project builder - do I select document based cocoa application, or is that only if i want to open multiple instances of the same window?

Yes.

2) either way, what type of new window do I select in interface builder to create a new nib file with and only with what the app needs.

* Create a new nib from the file menu (CMD-N, I belive).
* Drag something from the palette into the empty nib file - ie. perhaps only a custom view that you want to be able to access later.
* Specify the class of the object loading the nib as the "Files Owner"
* Save the nib, answer yes to have it included into your project.
* Use the nibloading methods of NSBundleAdditions in AppKit to load the objects from the nib at will in your code.

Regards,

j o a r


References: 
 >Creating nib files for multi-nib apps (From: Sam Goldman <email@hidden>)

  • Prev by Date: Re: Creating nib files for multi-nib apps
  • Next by Date: NSOutline view with draggable/reorderable items?
  • Previous by thread: Re: Creating nib files for multi-nib apps
  • Next by thread: FIFOs.
  • Index(es):
    • Date
    • Thread