Instance Property

visibleItems

An array containing the toolbar’s currently visible items.

Declaration

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

Discussion

Items in the overflow menu are not considered visible.

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.

items

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

sizeMode

The toolbar’s size mode.