Protocol

NSTouchBarDelegate

The interface for providing items for a bar (an NSTouchBar instance).

Overview

Use a bar delegate, according to the needs of your app, to dynamically create items (NSTouchBarItem instances). For more information, see Using NSTouchBarItem Objects.

Topics

Instance Methods

func touchBar(NSTouchBar, makeItemForIdentifier: NSTouchBarItem.Identifier)

Called to request a bar item for the specified bar and specified item identifier.

Relationships

Inherits From

Adopted By

See Also

First Steps

class NSTouchBar

An object that provides dynamic contextual controls in the Touch Bar of supported models of MacBook Pro.

protocol NSTouchBarProvider

A protocol that an object implements to create a Touch Bar object in your app.