Skip to content

Latest commit

 

History

History
 
 

ToolbarSample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

ToolbarSample: Using NSToolbar to construct a window toolbar

Description

This sample shows how to use the AppKit's NSToolbar and NSToolbarItem classes. These are used to add customizable toolbars to windows. This sample also includes more advanced use of custom views in NSToolbarItems, where you can put a variety of controls, given a little more coding. This sample implements the NSTouchBar API to work in conjunction with the toolbar.

Requirements

Build

Xcode 8.1, macOS 10.12.1 SDK or later

Runtime

macOS 10.11 or later

Copyright (C) 2001-2016 Apple Inc. All rights reserved.