Re: Versioning MainMenu.nib
Re: Versioning MainMenu.nib
- Subject: Re: Versioning MainMenu.nib
- From: David Carlisle <email@hidden>
- Date: Wed, 4 Jun 2008 10:31:29 -0600
Can't you just use NSApplication setMainMenu? Or are you committed to
doing it with build settings?
On Jun 3, 2008, at 9:12 PM, Chris Outwin wrote:
I have MainMenu.nib and MainMenu(Debug).nib in a Cocoa document app
using Xcode 3.0. The (Debug)version has controls only used during
development. I am trying to use build settings to dynamically load
the MainMenu(Debug).nib when PreprocessorMacros has a value
associated with the debug configuration.
The only example I've found is AppeanceSample: a Carbon app which
does not have <key>NSMainNibFile</key> <string>MainMenu</string> in
the Info.plist. This key/value pair may be my problem.
How do you dynamically select between two version of MainMenu.nib in
a Cocoa document app?
Thank you,
Chris Outwin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden