2

How can I quickly access the documentation for a symbol, method, enum, etc. in Xcode 4.5?

alt + click on symbol shows a quick-info. Apple removed the dictionary icon which opened the documentation. I tried all other possible shortcuts of the cmd / alt / shift / click mumbo jumbo dance and none of them open the documentation browser.

I suppose there is a hidden trick to quickly open it anyways?

Edit: Figured out this new quick-info box has a link to the documentation.

3 Answers3

4

⌘ Command + Double-Click on a symbol: Jump to Definition of a symbol.

⌥ Option + Double-Click on a symbol: Find Text in Documentation of a symbol. (Only works if you have they symbol's Doc Set installed.)

You should check This URL to know more about short cuts

Community
  • 1
  • 1
Kamleshwar
  • 2,967
  • 1
  • 25
  • 27
  • Command + double click opens the definition in a new window. Command + single click jumps to definition. – DrummerB Oct 05 '12 at 21:23
0

Alt + double click any symbol to open the documentation.

DrummerB
  • 39,814
  • 12
  • 105
  • 142
0

You said in your question "quickly", quite frankly xcode sucks when it comes to reading docs quickly

I suggest you install the free Dash from the app store - which is a documentation viewer that is considerably quicker than xcode

Then install this plugin for Xcode

https://github.com/omz/Dash-Plugin-for-Xcode

Now doing "alt + click" on a symbol opens up Dash to the correct docs in a flash

Paul.s
  • 38,494
  • 5
  • 70
  • 88