Initializer

init(identifier:)

Instantiates a new NSTouchBarItem object with the specified initializer.

Declaration

init(identifier: NSTouchBarItem.Identifier)

Discussion

The designated initializer. The identifier must be globally unique for every item, except for space items.

See Also

Creating a Bar Item

init?(coder: NSCoder)

Initializes and returns a new item from a storyboard or NIB file.