- Open System Preferences > Keyboard.
- Select Shortcuts.
- Select App Shortcuts, then click "+". Select Xcode for the Application, type Execute Playground for the Menu Title (must follow the text exactly, else it might not work), then input ⌘R as the keyboard shortcut.
修改 Swift PlayGroud 快捷键
2 min read