Initializer

init(itemIdentifier:)

Initialize the receiver with a given identifier.

Declaration

init(itemIdentifier: NSToolbarItem.Identifier)

Parameters

itemIdentifier

The identifier for the receiver. itemIdentifier is never seen by users and should not be localized.

Discussion

The identifier is used by the toolbar and its delegate to identify the kind of the toolbar item.

See Also