问题
After updating Xcode to 6.2, the table of content in document viewer is missing for most of the UI classes references. Is any one else experiencing this issue? Is there any way to show the table of content in document viewer just like what it used to be?
回答1:
I had the same he same issue - table of contents pane was blank.
However, when I checked Preferences / Downloads, I saw that the Documentation objects iOS 8.2, OS X 10.10 and XCode 6.2 were all available but not yet downloaded, despite the fact that the "Check for and install updates automatically" was checked.
Once I had manually selected and finished downloaded iOS 8.2 documentation, the table of contents pane was appearing normally again.
回答2:
You could always install Dash. It's a third party tool that gives a great interface to searching locally downloaded documentation (including iOS docs). Assuming you've downloaded the 8.2 documentation already, it should automatically detect it on installation. It's free and I'd highly recommend it.
App Store Link
回答3:
There is a play button next to menu button to show up the main menu of all available documents.
This is a when I clicked to the button:
To download documents in XCode: Goto 'Downloads' section in XCode Preference panel.
来源:https://stackoverflow.com/questions/29111817/how-to-get-table-of-content-in-document-view-for-xcode-6-2