<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/menus",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Menus"
}
-->

# Menus

Access the app’s main menu items and update the window and services menus.

## Topics

### Accessing the Main Menu

[`mainMenu`](/documentation/AppKit/NSApplication/mainMenu)

The app’s main menu bar.

[`isAutomaticCustomizeTouchBarMenuItemEnabled`](/documentation/AppKit/NSApplication/isAutomaticCustomizeTouchBarMenuItemEnabled)

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar.

### Managing the Window Menu

[`windowsMenu`](/documentation/AppKit/NSApplication/windowsMenu)

The Window menu of the app.

[`addWindowsItem(_:title:filename:)`](/documentation/AppKit/NSApplication/addWindowsItem(_:title:filename:))

Adds an item to the Window menu for a given window.

[`changeWindowsItem(_:title:filename:)`](/documentation/AppKit/NSApplication/changeWindowsItem(_:title:filename:))

Changes the item for a given window in the Window menu to a given string.

[`removeWindowsItem(_:)`](/documentation/AppKit/NSApplication/removeWindowsItem(_:))

Removes the Window menu item for a given window.

[`updateWindowsItem(_:)`](/documentation/AppKit/NSApplication/updateWindowsItem(_:))

Updates the Window menu item for a given window to reflect the edited status of that window.

### Managing the Services Menu

[`registerServicesMenuSendTypes(_:returnTypes:)`](/documentation/AppKit/NSApplication/registerServicesMenuSendTypes(_:returnTypes:))

Registers the pasteboard types the receiver can send and receive in response to service requests.

[`servicesMenu`](/documentation/AppKit/NSApplication/servicesMenu)

The app’s Services menu.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
