Instance Property

identifier

The identifier for this item.

Declaration

var identifier: NSTouchBarItem.Identifier { get }

Discussion

This read-only property returns the value the item was initialized with.

For all items other than spaces, this value must be globally unique.

See Also

Identifying a Bar Item

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