Instance Property

displayMode

The toolbar’s display mode.

Declaration

@property NSToolbarDisplayMode displayMode;

Discussion

For a list of possible display modes, see NSToolbarDisplayMode.

See Also

Toolbar Attributes

identifier

The receiver’s identifier.

showsBaselineSeparator

A Boolean value that indicates whether the toolbar shows the separator between the toolbar and the main window contents.

allowsUserCustomization

A Boolean value that indicates whether users are allowed to modify the toolbar.

allowsExtensionItems

A Boolean value that indicates whether the toolbar can add items for Action extensions.

items

An array containing the toolbar’s current items, in order.

visibleItems

An array containing the toolbar’s currently visible items.

sizeMode

The toolbar’s size mode.

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