Instance Method

initWithItemIdentifier:

Initialize the receiver with a given identifier.

Declaration

- (instancetype)initWithItemIdentifier:(NSToolbarItemIdentifier)itemIdentifier;

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