Contents

items

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

Declaration

var items: [NSToolbarItem] { get }

Discussion

To specify the default order of your toolbar’s items, implement the toolbarDefaultItemIdentifiers(_:) method in your toolbar delegate object. Use other methods of your delegate object to manage the placement of items in the toolbar.

See Also

Managing items on the toolbar