Protocol

NSTouchBarProvider

A protocol that an object adopts to create a bar object in your app.

Declaration

@protocol NSTouchBarProvider

Topics

Providing a Touch Bar

touchBar

Implement this property to provide an NSTouchBar object.

Required.

Relationships

Inherits From

See Also

Essentials

Integrating a Toolbar and Touch Bar into Your App

Build a toolbar in your app’s window, with a corresponding Touch Bar, for quick access to app features.

Creating and Customizing the Touch Bar

Use and customize your app’s Touch Bar for macOS.

NSTouchBar

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

NSTouchBarDelegate

A protocol that allows you to provide the items for a bar dynamically.