10.6: http://developer.apple.com/rss/com.apple.adc.documentation.AppleSnowLeopard.atom
10.7: http://developer.apple.com/rss/com.apple.adc.documentation.AppleLion.atom
iOS 5: http://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone5_0.atom
legacy: 遺產,祖遺留下來之物
Apple publish the Xcode docset through RSS feeds, so Xcode can check and download them easily. If you are interested in retrieving the docsets directly, here is the catch:
Xcode 4 的幫助文檔都是在線的,如果網速慢,查看起來會非常不方便,我們可以使用下載工具把文檔下載到本地硬盤,這樣搜索查看時就方便多了
安裝下載到的atom:
0. 找到幫助文檔的 Feed 地址
在Xcode中 Cmd + , 顯示設置窗口,然后定位到 Downloads->Documentation
點擊要使用的文檔,如 Mac OS X 10.7 Core Library,再點擊左下角的小箭頭圖標,在顯示出來的詳細信息中有 Feed 地址
1. 解壓下載到的 xar 得到 docset
sudo xar -xf 文檔文件.xar
2. 設置 docset 文件的所有者為 devdocs
sudo chown -R -P devdocs 文檔文件.docset
3. 復制 devdocs 到
/Developer/Documentation/DocSets/