简体   繁体   English

Xcode 3.2中的开发人员文档-后退还是我的安装搞砸了?

[英]Developer Documentation in Xcode 3.2 - a step back or is my installation screwed?

I've upgraded to Snow Leopard and Xcode 3.2 but now I don't get the usual Developer Documentation any more. 我已经升级到Snow Leopard和Xcode 3.2,但是现在我不再获得通常的开发人员文档。 When I click on 'Developer Documentation' all I get is the Xcode QuickStart guide. 当我单击“开发人员文档”时,我得到的只是Xcode快速入门指南。 No search field, no browsing the library, nothing. 没有搜索字段,没有浏览库,什么都没有。 Only if I cmd+opt+shift (?) double click on eg NSString the API documentation of NSString comes up. 仅当我cmd + opt + shift(?)双击NSString时,才会出现NSString的API文档。 But again, no search field, I can't browse the library etc. I can't imagine that this is the normal behavior. 但是同样,没有搜索字段,我无法浏览库等。我无法想象这是正常现象。 I've already tried to deinstall Xcode and reinstall it again - same result. 我已经尝试卸载Xcode并再次重新安装-同样的结果。 Any idea of what might have gone wrong? 有什么可能出问题的主意吗?

The "Home" button in the documentation window's toolbar (is your toolbar hidden, perhaps?) will list the documentation sets you have installed. 文档窗口工具栏中的“主页”按钮(您的工具栏是否隐藏了?)将列出您已安装的文档集。 You'll want to install them from the "Documentation" page of Xcode's preferences window, it's the last one. 您需要从Xcode的首选项窗口的“文档”页面安装它们,这是最后一个。

Yes, this is slightly annoying that you have to take the extra step, and it's very nonobvious where the extra step is. 是的,这有点烦人,您必须采取额外的步骤,并且额外步骤在哪里并不明显。

In 10.6, Xcode relies entirely on the web to retrieve developer docs rather than having a local copy. 在10.6中,Xcode完全依靠Web来检索开发人员文档,而不是具有本地副本。 Have a look at this blog post ; 看看这个博客帖子 ; it tells how to grab the documentation files off of Apple's servers and make them available locally on your machine within Xcode. 它讲述了如何从Apple的服务器上获取文档文件,并使其在Xcode中的计算机上本地可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM