Xcode 如何使用 Macbook Pro Touchbar?

How Does Xcode Use The Macbook Pro Touchbar?

我正在寻找带触摸条的 13 英寸 macbook pro。我将使用它进行 Xcode 开发。我想知道 Xcode 如何使用触摸栏。意思是 xcode 的哪些功能键出现在触摸栏上?

来自这个article

New features in the IDE to support Touch Bar development include:

  • Touch Bar displays context-specific buttons when in the Xcode editor, commit sheet, navigator and Interface Builder.
  • Debug button in the Control Strip lets you pause and inspect your app while Xcode is in the background.
  • Interface Builder button updates the frames of selected objects and their children.
  • Classes in Interface Builder make it easy to add Touch Bar features to your Mac apps.
  • Touch Bar simulator works on any Mac so you can see how your app works with the Touch Bar.