Use Xcode to preview and fine-tune NSTouchBar
objects defined your app in the Touch Bar of your app. If your Mac isn't equipped with a Touch Bar, preview your bars in the Touch Bar simulator.
In Interface Builder, select an NSTouchBar
object on the canvas.
Choose Editor > Preview Touch Bar.