Display interactive content and controls in the Touch Bar.
Framework
- App
Kit
Display interactive content and controls in the Touch Bar.
Framework
Build a toolbar in your app’s window, with a corresponding Touch Bar, for quick access to app features.
Use and customize your app’s Touch Bar for macOS.
class NSTouch Bar
An object that provides dynamic contextual controls in the Touch Bar of supported models of MacBook Pro.
protocol NSTouch Bar Delegate
A protocol that allows you to provide the items for a bar dynamically.
protocol NSTouch Bar Provider
A protocol that an object adopts to create a bar object in your app.
class NSTouch Bar Item
A UI control shown in the Touch Bar on supported models of MacBook Pro.
class NSCandidate List Touch Bar Item
A bar item that, along with its delegate, provides a list of textual suggestions for the current text view.
class NSColor Picker Touch Bar Item
A bar item that provides a system-defined color picker.
class NSCustom Touch Bar Item
A bar item that contains a responder of your choice, such as a view, a button, or a scrubber (an instance of the NSScrubber
class).
class NSGroup Touch Bar Item
A bar item that provides a bar to contain other items.
class NSPopover Touch Bar Item
A bar item that provides a two-state control that can expand into its second state, showing the contents of a bar that it owns.
class NSSharing Service Picker Touch Bar Item
A bar item that, along with its delegate, provides a list of objects eligible for sharing.
class NSSlider Touch Bar Item
A bar item that provides a slider control for choosing a value in a range.
class NSUser Interface Compression Options
An object that specifies how user interface elements resize themselves when space is constrained.
class NSScrubber
A customizable item picker control for the Touch Bar.
protocol NSScrubber Data Source
A set of methods that a scrubber data source object implements to provide items to the scrubber from an associated data collection in your app.
protocol NSScrubber Delegate
A set of methods that a scrubber delegate implements to respond to user interactions.
class NSScrubber Item View
An item at a specific index position in the scrubber.
class NSScrubber Arranged View
An abstract base class for the views whose layout is managed by a scrubber.
class NSScrubber Image Item View
A concrete view subclass for displaying images in a scrubber items.
class NSScrubber Selection Style
An abstract class that provides decorative accessory views for selected and highlighted items within a scrubber control.
class NSScrubber Selection View
An abstract base class for specifying the appearance of a highlighted or selected item in a scrubber.
class NSScrubber Text Item View
A concrete view subclass for displaying text for an item in a scrubber.
class NSScrubber Flow Layout
A concrete layout object that arranges items end-to-end in a linear strip.
protocol NSScrubber Flow Layout Delegate
A protocol that a scrubber delegate can adopt to provide the size of an item.
class NSScrubber Proportional Layout
A concrete layout object that sizes each item to some fraction of the scrubber's visible size.
class NSScrubber Layout Attributes
The layout of a scrubber item.
class NSScrubber Layout
An abstract class that describes the layout of items within a scrubber control.
Update colors, images, and behaviors so that your app adapts automatically when Dark Mode is active.
Incorporate scanned documents and pictures taken with a user's iPhone, iPad, or iPod touch into your Mac app using Continuity Camera.
Present and define the interactions for your content onscreen.
Manage your user interface, including the size and position of views in a window.
Implement menus and cursors to facilitate interactions with your app, and use your app's Dock tile to convey updated information.
Organize your view hierarchies and facilitate their display onscreen.
Animate your views and other content to create a more engaging experience for users.
Play sounds and haptic feedback, and incorporate speech recognition and synthesis into your interface.