Re: Multiple nibs
Re: Multiple nibs
- Subject: Re: Multiple nibs
- From: Christophe Dore <email@hidden>
- Date: Thu, 07 Feb 2002 10:02:35 +0100
That used to be an habit for application that targetted several
plateforms, where menus had to be slightly different, to respect each
plateform's general UI guides.
Now, this can also be for instance helpfull if you want to localize your
menu without localizing the windows.
Lance Bland wrote:
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.
_______________________________________________
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.