Xcode:如何在 Xcode 中安装 iOS 文档?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3420257/
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: how to install the iOS documentation in Xcode?
提问by uuuuuuuuuuu
I currently have Xcode 3.2.3 installed (sans iOS SDK). It seems to have automatically downloaded for me the (OSX) Cocoa dev library -- but not iOS (UIKit) documentation.
我目前安装了 Xcode 3.2.3(无 iOS SDK)。它似乎已经为我自动下载了 (OSX) Cocoa 开发库——但不是 iOS (UIKit) 文档。
In Xcode preferences, I see "documentation set" options for "Mac OSX 10.6 Core Library" and "Xcode 3.2 Developer Tools Library" (both already downloaded) -- plus some Java etc. documentation. But nothing about iPhone/iOS/UIKit.
在 Xcode 首选项中,我看到“Mac OSX 10.6 核心库”和“Xcode 3.2 开发者工具库”(均已下载)的“文档集”选项——以及一些 Java 等文档。但与 iPhone/iOS/UIKit 无关。
After actually installing the iOS SDK, will there be a new option for an iOS documentation set in Xcode preferences? Or do I have to do something manually?
实际安装 iOS SDK 后,Xcode 首选项中设置的 iOS 文档是否会有新选项?还是我必须手动执行某些操作?
回答by Kalyana Sundaram
The Documentation for iOS is no longer a part of SDK - looks like you need to install from preferences of XCode - click get next to install it
iOS 文档不再是 SDK 的一部分 - 看起来您需要从 XCode 的首选项安装 - 单击“下一步”进行安装
回答by Hrishikesh Vimadalal
Click on preferences
Click on the 'Documentation
'Get' the iOS documentation
单击首选项
单击“文档
”“获取”iOS 文档
回答by theMikeSwan
The documentation is part of the SDK. Once you install the iOS SDK you should then see the documentation show up (and unfortunately take priority in searches showing up first even when you only have Mac OS projects open).
该文档是 SDK 的一部分。安装 iOS SDK 后,您应该会看到显示的文档(不幸的是,即使您只打开 Mac OS 项目,搜索也会优先显示)。