Instance Property

allowsExtensionItems

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

Declaration

@property BOOL allowsExtensionItems;

Discussion

When YES, the toolbar can dynamically create toolbar items for Action extensions in the toolbar configuration panel. To be included, an extension needs to set the NSExtensionServiceAllowsToolbarItem key to YES in its Info.plist. For more informaiton, see App Extension Keys in Information Property List Key Reference.

The default value is NO.

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.

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.