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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/davidcar1%40mstarmetro.net
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]