• 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
Converting From Simple to Doc Based App - Problems with Menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting From Simple to Doc Based App - Problems with Menus


  • Subject: Converting From Simple to Doc Based App - Problems with Menus
  • From: Peter Zegelin <email@hidden>
  • Date: Thu, 1 May 2008 15:15:16 +1000

Being new to Cocoa I started my project with a Simple Cocoa Application template. I have now converted to a Doc Based template by adding all my code and adding my delegates and substituting my window in the Document nib. However I have a problem with some of the menus. Most of my menus go to the first responder, however some are linked to views on the window itself. However the menu is in the 'MainMenu' nib but my window is in the 'MyDocument' nib and therefore can't connect the two. I'm not really sure the correct way to hook everything up so would appreciate some advice.

Should I really have the menu in the Document nib? I tried that and got some funny extra menus at the beginning of the menubar.
Should I have my main menu in the doc nib and just a basic one in the 'MainMenu' nib?


thanks!

Peter Zegelin
_______________________________________________

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: Converting From Simple to Doc Based App - Problems with Menus
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: FSCopyObjectASync Not Calling Callback In Cocoa
  • Next by Date: Re: Converting From Simple to Doc Based App - Problems with Menus
  • Previous by thread: TransformProcessType fails to show menu bar
  • Next by thread: Re: Converting From Simple to Doc Based App - Problems with Menus
  • Index(es):
    • Date
    • Thread