xcode 下载 Cocoa API 文档
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5174024/
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
Download of Cocoa API documentation
提问by brandizzi
Is it possible to download all Cocoa API documentation? I have to work offline a lot of times and sometimes a doubt blocks all my work...
是否可以下载所有 Cocoa API 文档?我必须离线工作很多次,有时一个疑问会阻止我所有的工作......
采纳答案by Paul R
Xcode does this for you automatically, unless you've disabled it ?
Xcode 会自动为您执行此操作,除非您已禁用它?
Your Documentation prefs pane should look something like this:
您的文档首选项窗格应如下所示:
Note that in the above case there are 4 documentation sets installed and the remaining uninstalled sets can be installed by hitting the associated Get
buttons. Once you have the required documentation installed then it's available via the Help
=> Developer Documentation
menu, even when you are off-line.
请注意,在上述情况下,安装了 4 个文档集,可以通过点击相关Get
按钮安装剩余的未安装文档集。一旦您安装了所需的文档,即使您处于离线状态,也可以通过Help
=>Developer Documentation
菜单使用它。
回答by Dave DeLong
As @PaulR mentions, Xcode does this automatically. Look in the Documentation preferences. If there's no button called "Get" next in the "Mac OS X 10.6 Core Library" row, then it's already downloaded and installed.
正如@PaulR 提到的,Xcode 会自动执行此操作。查看文档首选项。如果“Mac OS X 10.6 核心库”行中没有名为“获取”的下一个按钮,则它已经下载并安装。
If you still don't think it's working, then check out Ingredients.app. It's an offline documentation browser. It's pretty nice. :)
如果您仍然认为它不起作用,请查看成分。应用程序。这是一个离线文档浏览器。这很不错。:)