Re: Multiple nibs
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.
References: | |
| >Multiple nibs (From: "Mike O'Connor" <email@hidden>) |