• 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: Multiple nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple nibs


  • Subject: Re: Multiple nibs
  • From: Lance Bland <email@hidden>
  • Date: Wed, 6 Feb 2002 15:50:39 -0500

On Wednesday, February 6, 2002, at 03:30 PM, Mike O'Connor wrote:

I see a lot of apps use multiple nib files, for example one for the menu
bar, and another for the main window.

Why use multiple nibs as opposed to putting everything in one big nib

For two nibs it doesn't make much difference. There will be a difference when you have hundreds of nibs, for example.

, and
how do you make connections between items in different nibs in Interface
Builder?

There are a few ways. For instance, the nib File Owner for both nibs can be the same instance. You just attach different outlets to objects in the different nibs. The file owner knows about objects from each nib once both get loaded.

-lance

_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Multiple nibs
      • From: Christophe Dore <email@hidden>
References: 
 >Multiple nibs (From: "Mike O'Connor" <email@hidden>)

  • Prev by Date: Re: Multiple nibs
  • Next by Date: Re: NSAffineTransform
  • Previous by thread: Re: Multiple nibs
  • Next by thread: Re: Multiple nibs
  • Index(es):
    • Date
    • Thread