Apple MacBook Pro TouchBar (NSTouchBar) Cheat Sheet
To enable the TouchBar
simulator you need Xcode Version 8.1 (8B62)
and macOS 10.12.1
build 12B2657
. You can update Xcode via AppStore. To check your macOS build type in your Terminal
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.1
BuildVersion: 16B265
If you are running the previous build of 10.12.1
(16B2555), you have to manually update from Apple Support: https://support.apple.com/kb/dl1897?locale=en_US
Assumed you did the previous steps, open Xcode and the Window menu should look like
so you should see the Show Touch Bar
option just after the Organizer option.
The TouchBarLauncher Xcode program in Swift, let you run the Touch Bar simulator programmatically and it's very handy. Made by Sash Zats it uses the simulator host window controller IDETouchBarSimulatorHostWindowController
to leverage the TouchBar.
- React Native TouchBar is a React Native component that adds support for the macOS
TouchBar
in React Native. - Electron, Support MacBook Touch Bar API
- NW.js aka NodeWebKit
The NSTouchbar is an object that provides dynamic contextual controls in the Touch Bar of supported models of MacBook Pro.
- NSTouchBar Catalog, Creating and Customizing NSTouchBar
- ToolbarSample, ToolbarSample: Using NSToolbar to construct a window toolbar
- TouchBarScreenshotter, easily snap screenshots of the currently presented Touch Bar in macOS
- TouchBarDemoApp, Allows you to use your macOS Touch Bar from an iPad (through USB connection) or on-screen by pressing the Fn-key.
- KnightTouchBar2000, KITT 2000 chaser animation for your MacBook Pro TouchBar.
- TouchFart, A fart app for the new Macbook Pro's Touch Bar
- Touchbar Nyancat, nyancat animation on your +$2k MacBook Pro's Touchbar