An object that manages the space immediately below a window's title bar and above your app's custom content.
SDKs
- macOS 10.0+
- Mac Catalyst 13.0+
Framework
- App
Kit
Declaration
class NSToolbar : NSObject
Overview
Toolbars manage controls and views that apply to the main window’s content area. Each item in the toolbar is represented by an NSToolbar
object, created by Interface Builder or in code. For more information about using NSToolbar, see Integrating a Toolbar and Touch Bar into Your App.