Instance Property

customizationRequiredItemIdentifiers

An optional list of identifiers for items you want to always appear in the Touch Bar and which the user can’t remove during customization.

Declaration

var customizationRequiredItemIdentifiers: [NSTouchBarItem.Identifier] { get set }

Discussion

Configure this property at your discretion, depending on the design of your app.

The system archives this property.

See Also

Configuring User Customization

var customizationIdentifier: NSTouchBar.CustomizationIdentifier?

A globally unique string that makes the Touch Bar eligible for user customization.

var customizationAllowedItemIdentifiers: [NSTouchBarItem.Identifier]

A list of identifiers for items to show in the Touch Bar’s customization UI.

typealias NSTouchBar.CustomizationIdentifier

The default type for a Touch Bar customization identifier.

class var isAutomaticCustomizeTouchBarMenuItemEnabled: Bool

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar.