Instance Property

items

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

Declaration

@property(readonly, copy) NSArray<__kindof NSToolbarItem *> *items;

See Also

Toolbar Attributes

identifier

The receiver’s identifier.

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.

visibleItems

An array containing the toolbar’s currently visible items.

sizeMode

The toolbar’s size mode.