Instance Property

identifier

The receiver’s identifier.

Declaration

@property(readonly, copy) NSToolbarIdentifier identifier;

Discussion

Within the application all toolbars with the same identifier are synchronized to maintain the same state, including for example, the display mode and item order. The identifier is used as the autosave name for toolbars that save their configuration.

See Also

Toolbar Attributes

displayMode

The toolbar’s display mode.

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.