Contents

init(identifier:)

Creates a new item with the specified identifier.

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