Protocol

NSTouchBarProvider

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

Declaration

protocol NSTouchBarProvider

Topics

Providing a Touch Bar

var touchBar: NSTouchBar?

Implement this property to provide an NSTouchBar object.

Required.

Relationships

Inherits From

Conforming Types

See Also

First Steps

class NSTouchBar

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

protocol NSTouchBarDelegate

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software