开发者

What should I do with default menu items in MainMenu in the new Cocoa application?

开发者 https://www.devze.com 2022-12-20 08:50 出处:网络
When you create new Cocoa application Xcode generates MainMenu.xib for you with the sets of predefined menu i开发者_如何学Gotems (File, Edit, Format, View, etc.).

When you create new Cocoa application Xcode generates MainMenu.xib for you with the sets of predefined menu i开发者_如何学Gotems (File, Edit, Format, View, etc.).

I make a very simple application. I really don't need menu items Edit, Format, View. What is the best practice in this case. Should I remove or keep them? It's look very strange for me that so simple application has so detailed main menu with a lot of disabled items.


If it's not relevant to your application I'd remove them, although if your application involves any text I would keep the Edit menu for Copy/Paste.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号