Re: Change main menu nib
Re: Change main menu nib
- Subject: Re: Change main menu nib
- From: Fritz Anderson <email@hidden>
- Date: Sun, 11 Jul 2004 16:24:59 -0500
The NIB file designated by the Info.plist file as NSMainNibFile is
loaded automatically, is loaded first, and is the only place the AppKit
framework looks for a menu bar.
In short, what say you want is not something that Cocoa does. The first
NIB to load _is_ the main menu NIB. You could leave the menus out of
it, but that just makes it a buggy main menu NIB that won't let your
program run.
You could, instead, put your splash window in the main menu NIB, along
with the menus. So there are menus (which will do nothing while the
splash is showing); so what? Your splash will be so fascinating that
your customers will be _glad_ to take time away from working with your
product to admire it! They won't even notice the menus! You don't have
to present a document or main window until you want to. You don't have
to put your document or main window specs in the main menu NIB.
You could even carry only a minimal menu set in the main NIB, and add
to it later, though it's unprofessional-looking and bad UI engineering.
-- F
On 11 Jul 2004, at 3:55 PM, Adam wrote:
I would like to suppress the loading of the main menu nib file until a
time of my choosing.
Basically, I want to create a new NIB with just a splash screen and
make that the first window to appear when the app launches. Then when
the user dismisses the splash screen I want the contents of the main
menu nib to appear/load.
_______________________________________________
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.