简体   繁体   English

Cocoa 应用程序菜单 - 如何重新创建?

[英]Cocoa application menu - how to recreate?

Inside the MainMenu.xib I deleted the default Main Menu that automatically gives you the application menu (along with the File/Edit/Format/View/Window/Help menus).在 MainMenu.xib 中,我删除了自动为您提供应用程序菜单的默认主菜单(以及 File/Edit/Format/View/Window/Help 菜单)。

What are the steps I need to take to add this back into my application?我需要采取哪些步骤才能将其重新添加到我的应用程序中?

I would create a new application then copy just the Main Menu back into your MainMenu.xib我将创建一个新应用程序,然后将Main Menu复制回您的MainMenu.xib

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM