Structure

NSTouchBarItem.Identifier

No overview available.

Topics

Creating Identifiers for Space Items

static let fixedSpaceSmall: NSTouchBarItem.Identifier

The identifier of an item appropriate for use as a small space in a touch bar.

static let fixedSpaceLarge: NSTouchBarItem.Identifier

The identifier of an item appropriate for use as a large space in a touch bar.

static let flexibleSpace: NSTouchBarItem.Identifier

The identifier of an item appropriate for use as a flexible space in a touch bar.

Creating Identifiers for Touch Bar Nesting

static let otherItemsProxy: NSTouchBarItem.Identifier

The identifier of the special "other items proxy", which is used to nest touch bars up the responder chain.

Creating Identifiers for Multiple Choice Items

static let characterPicker: NSTouchBarItem.Identifier

The standard identifier for selecting special characters such as Emoji.

Creating Identifiers for Text Items

static let textFormat: NSTouchBarItem.Identifier

The identifier for a group of text format controls.

static let textAlignment: NSTouchBarItem.Identifier

The identifier for a touch bar item used to select the text alignment.

static let textColorPicker: NSTouchBarItem.Identifier

The identifier for a touch bar item used to select the text color.

static let textList: NSTouchBarItem.Identifier

The identifier for a touch bar item used to control the text list style.

static let textStyle: NSTouchBarItem.Identifier

The identifier for a touch bar item used to control the text style.

Creating a Custom Identifier

init(String)

Initialize and return a touch bar item identifier with the specified custom name.

Relationships

See Also

Creating a Bar Item

init(identifier: NSTouchBarItem.Identifier)

Instantiates a new NSTouchBarItem object with the specified initializer.

init?(coder: NSCoder)

Initializes and returns a new item from a storyboard or NIB file.