• 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: Problem setting the menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem setting the menu


  • Subject: Re: Problem setting the menu
  • From: Peter Ammon <email@hidden>
  • Date: Mon, 6 Oct 2008 11:38:43 -0700

If you make a new Xcode project with the "Cocoa Application" template, you will get a functioning main menu. You can either base your project off of that, or use it to figure out what differs in your project to prevent the nib in your menu from showing up.

If you still can't figure out why the menu in the nib is not showing up, you can send me a compiled version of your program and I'll take a look.

-Peter

On Oct 5, 2008, at 7:40 PM, Felipe Monteiro de Carvalho wrote:

Hello,

I am still trying to get the application menu to work. I have even
tryed to add a very simple nib file to the project. I simply added the
nib file to the bundle and set NSMainNibFile, but it doesn't show the
applications menu. It doesn't matter if I comment the code which
attempts to generate the application menu or not, it never shows
anything inside it.

Any ideas how to insert a menu in a project which is otherwise
completely written in code?

_______________________________________________

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


  • Follow-Ups:
    • Re: Problem setting the menu
      • From: "Felipe Monteiro de Carvalho" <email@hidden>
References: 
 >Re: Problem setting the menu (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Problem setting the menu (From: "Felipe Monteiro de Carvalho" <email@hidden>)

  • Prev by Date: Re: hyphenationFactor in typesetter and layout manager
  • Next by Date: Re: Master-Detail Interface Examples
  • Previous by thread: Re: Problem setting the menu
  • Next by thread: Re: Problem setting the menu
  • Index(es):
    • Date
    • Thread