Implement this property to provide an NSTouch
object.
Required.
SDKs
- macOS 10.12.2+
- Mac Catalyst 13.0+
Framework
- App
Kit
Declaration
@property(strong, readonly) NSTouch Bar *touchBar;
Discussion
This property supports key-value observing, which is used by the system, for example, if you replace a running bar. Many subclasses of NSResponder
implement this property and conform to the NSTouch
protocol.