TouchBarLabelĪ typeof TouchBarLabel reference to the TouchBarLabel class. TouchBarGroupĪ typeof TouchBarGroup reference to the TouchBarGroup class. TouchBarColorPickerĪ typeof TouchBarColorPicker reference to the TouchBarColorPicker class. Static Properties TouchBarButtonĪ typeof TouchBarButton reference to the TouchBarButton class.
Tip: If you don't have a MacBook with Touch Bar, you can use Note: The TouchBar API is currently experimental and may change or be UseītTouchBar to add the TouchBar to a window. escapeItem ( TouchBarButton | TouchBarColorPicker | TouchBarGroup | TouchBarLabel | TouchBarPopover | TouchBarScrubber | TouchBarSegmentedControl | TouchBarSlider | TouchBarSpacer | null) (optional)Ĭreates a new touch bar with the specified items.items ( TouchBarButton | TouchBarColorPicker | TouchBarGroup | TouchBarLabel | TouchBarPopover | TouchBarScrubber | TouchBarSegmentedControl | TouchBarSlider | TouchBarSpacer).
Create TouchBar layouts for native macOS applications