Instance Property

itemIdentifiers

The list of identifiers for the current items in the Touch Bar.

Declaration

var itemIdentifiers: [NSTouchBarItem.Identifier] { get }

Discussion

If the user has not customized the bar, this property’s value is the same as that of the defaultItemIdentifiers property.

The system does not archive this property.

See Also

Observing Bar Status

var isVisible: Bool

A Boolean value that Indicates whether the Touch Bar is eligible for display.

func item(forIdentifier: NSTouchBarItem.Identifier) -> NSTouchBarItem?

Returns the Touch Bar item that corresponds to a given identifier.