Instantiates a new NSTouchBarItem object with the specified initializer.


init(identifier: NSTouchBarItem.Identifier)


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software