Chapter 17. Finishing Touches

Trimming the Menus

When we created the Linear project, the MainMenu.nib we got was generic for a document-based application. Most of the contents of the menu bar in that Nib do apply to Linear, but a few items will never be used, and a handful still refer to NewApplication. Now that we’ve settled on a final feature set, we can edit the menu bar to reflect what Linear does.

Double-click MainMenu.nib in either the Groups &Files list or the Finder. When the file opens, double-click the MainMenu icon in the Nib window to make sure that the prototype menu bar is visible.

  • The Application menu is named NewApplication in the Nib. If you’ve been observant, you’ve seen that when Linear is running, this menu is named Linear. That’s ...

Get Step into Xcode Mac OS X Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.