Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a quick way to see (not jump to) the definition / type of a symbol in Xcode?

Tags:

xcode

I know about cmd-double-click, and use it all the time, it's great. But is there an easy way to make Xcode simply tell me the type of a symbol in a popup or similar without having to jump away from my current position in code?

like image 580
Sophistifunk Avatar asked Jul 21 '10 00:07

Sophistifunk


People also ask

How do you jump to functions in Xcode?

Xcode shortcuts for large iOS projectOpen Quickly(⇧ + ⌘ + O): This shortcut lets you jump to any class, enum, struct, function, or other entities in your project. Reveal in Project Navigator (⇧ + ⌘ + J): This will scroll to the file you are working in the project navigator.

How to search inside Xcode?

Use cmd + shift + f for complete Xcode search.


1 Answers

option+click should get you there for standard documentation.

For user symbols, not sure. You could command+option+click to open the definition in an Assistant editor, in Xcode 4+.

like image 156
Ben Mosher Avatar answered Oct 05 '22 13:10

Ben Mosher