Xcode 3.2 离线文档?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1384622/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 3.2 offline documentation?
提问by stefanB
I've upgraded to Xcode 3.2 and I'm searching for the offline documentation / reference library that was always available for the previous versions of Xcode.
我已经升级到 Xcode 3.2 并且我正在搜索离线文档/参考库,它始终可用于以前版本的 Xcode。
When I go to menu Help -> Developer Documentation I get the reference library but when I search for any term like NSViewController the pop up keeps showing up (annoyingly) telling me that I'm not connected to internet -> which I know because I'm not ...
当我进入菜单 Help -> Developer Documentation 时,我得到了参考库,但是当我搜索 NSViewController 之类的任何术语时,弹出窗口不断显示(恼人地)告诉我我没有连接到互联网 -> 我知道这是因为我不是...
Does it mean I'm not longer able to look at documentation when I'm not connected to internet?
这是否意味着当我没有连接到互联网时,我无法再查看文档?
I'm missing the introductory topics on various technologies and so on like Window Controller and so on. Is there a place to download any additional offline documentation for Xcode?
我缺少有关各种技术的介绍性主题,例如 Window Controller 等。有没有地方可以下载任何额外的 Xcode 离线文档?
回答by Can Berk Güder
It's in Preferences > Documentation.
它位于首选项> 文档中。
回答by AlBlue
The documentation view in XCode should allow you to download the documentation sets, so that they're available for off-line reading. You'll find them installed in /Developer/Documentation/DocSets although for the iPhone stuff, it'll be in /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets.
XCode 中的文档视图应该允许您下载文档集,以便它们可用于离线阅读。你会发现它们安装在 /Developer/Documentation/DocSets 中,尽管对于 iPhone 的东西,它会在 /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets 中。
If you look at the source of http://developer.apple.com/rss/adcdocsets.atom(it won't show up in Safari, you'll have to use 'curl' or 'wget') then you can find the archives to download in 'xar' format. The command line 'xar -x' should be able to extract them.
如果您查看http://developer.apple.com/rss/adcdocsets.atom的来源(它不会出现在 Safari 中,您必须使用“curl”或“wget”)然后您可以找到以“xar”格式下载的档案。命令行 'xar -x' 应该能够提取它们。