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.
精彩评论