• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Versioning MainMenu.nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Versioning MainMenu.nib (From: Chris Outwin <email@hidden>)

  • Prev by Date: Re: Versioning MainMenu.nib
  • Next by Date: Re: Versioning MainMenu.nib
  • Previous by thread: Re: Versioning MainMenu.nib
  • Next by thread: Re: Versioning MainMenu.nib
  • Index(es):
    • Date
    • Thread