Preview the items in your NSTouchBar object

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.

  1. In Interface Builder, select an NSTouchBar object on the canvas.

  2. Choose Editor > Preview Touch Bar.

SEE ALSOShow and Hide the Touch Bar simulatorNSTouchBar reference