Menus, Cursors, and the Dock

Implement menus and cursors to facilitate interactions with your app, and use your app's Dock tile to convey updated information.

Topics

Menus

NSMenu

An object that manages an app’s menus.

NSMenuItem

A command item in an app menu.

NSMenuDelegate

The optional methods implemented by delegates of NSMenu objects to manage menu display and handle some events.

Menu Validation

Menu Bar Items

NSStatusBar

An object that manages a collection of status items displayed within the system-wide menu bar.

NSStatusItem

An individual element displayed in the systemwide menu bar.

NSStatusBarButton

The appearance and behavior of an item in the systemwide menu bar.

Cursors

NSCursor

A pointer (also called a cursor).

NSTrackingArea

A region of a view that generates mouse-tracking and cursor-update events when the pointer is over that region.

The Dock

NSDockTile

The visual representation of your app’s miniaturized windows and app icon as they appear in the Dock.

NSDockTilePlugIn

A set of methods implemented by plug-ins that allow an app’s Dock tile to be customized while the app is not running.

See Also

User Interface

Supporting Dark Mode in Your Interface

Adopt a dark appearance in addition to the standard light appearance.

Views and Controls

Present and define the interactions for your content onscreen.

View Management

Manage your user interface, including the size and position of views in a window.

Windows, Panels, and Screens

Organize your view hierarchies and facilitate their display onscreen.

Touch Bar

Display interactive content and controls in the Touch Bar.

Animation

Animate your views and other content to create a more engaging experience for users.

Sound, Speech, and Haptics

Play sounds and haptic feedback, and incorporate speech recognition and synthesis into your interface.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software