iOS - Shortcut for jumping to definition in Xcode 9? iOS - Shortcut for jumping to definition in Xcode 9? ios ios

iOS - Shortcut for jumping to definition in Xcode 9?


Ashish and Ghulam's answers were great but it still kinda bugged me that things had changed and I couldn't jump to definition as before. Then I found this...

Xcode9Beta2-Preferences->Navigation->Command-click on Code:->Jump To Definition:

Xcode9Beta2-Preferences->Navigation->Command-click on Code:->Jump To Definition


Solution 1:

  • Go to Xcode menu
  • Click on Preferences
  • Select Navigation Tab from Top
  • Select Command-click on Code
  • Change to "Jumps to Definition"

As you can see in this screenshot

Solution 2:Use

Ctrl + ⌘ + Left click


There is short cut displayed on drop down menu, just use-

1. Control, Command and left mouse button

OR

2. Command plus Right Mouse Click

instead of command left mouse button.