Shortcuts
Ctrl-Cmd primary click (on symbol)
// Jump to definition
Cmd-Shift-F
// Global find
Cmd-Shift-O
// Auto-complete open file or component
Ctrl-Shift-Cmd-H (on symbol)
// Find call hierarchy, to trace evocation/call
chain
// I don’t actually remember this shortcut, but use right click > find > find call hierarchy
Ctrl-Shift-J
// If you are in some file and want to see where it is in the file inspector for context of where file exists
Xcode Swift Lint
| Purpose | Code |
|---|---|
| Ignore Class Length | // swiftlint:disable:next type_body_length |
| Ignore Function Length | // swiftlint:disable:next function_body_length |
Roots
- Install Root:
sudo darwinup -p $(xcrun --show-sdk-path -sdk ios.internal)install