简体   繁体   English

旧版iPhone SDK和最新版SDK中的示例代码

[英]Sample codes in old iPhone SDK and the latest SDK

Hi I've just installed the new iPhone SDK and noticed that the samples are missing but instead found at http://developer.apple.com/library/ios/navigation/index.htmlsection=Resource+Types&topic=Sample+Code 嗨,我刚刚安装了新的iPhone SDK,并注意到缺少示例,但可以在http://developer.apple.com/library/ios/navigation/index.htmlsection=Resource+Types&topic=Sample+Code找到

I still remember the old SDK has samples bundled with it, so does the new SDK contain about the same number of samples compared to the old one or is it lesser? 我仍然记得旧的SDK附带有样本,因此新的SDK与旧的SDK包含的样本数量大致相同还是更少? I won't like to delete existing one and reinstall the one SDK to verify it.. 我不想删除现有的一个并重新安装一个SDK进行验证。

Thanks 谢谢

can it be that you first have to download the new help-files and that this one include also all the sample code? 可能是您首先必须下载新的帮助文件,并且其中包括所有示例代码吗? usually after installation you have to download it first (xcode makes it automatically or you can start it in xcode - preferences... - documentation - ios 4.1 library) before you have it. 通常在安装后,您必须先下载它(xcode会自动将其下载,或者您可以在xcode-首选项...-文档-ios 4.1库中启动它)。 but i am not sure if downloading it will fill the gap, sorry bye 但我不确定是否可以下载该文件,对不起,再见

You can find the samples code in the iOS Dev Center. 您可以在iOS开发中心中找到示例代码。 There should be a link in the home page right after you sign in. This includes iPad samples. 登录后,主页上应该有一个链接。其中包括iPad示例。 You can sort them by topic, framework or date. 您可以按主题,框架或日期对它们进行排序。 There is also a text search. 还有一个文本搜索。 in /Developer/Examples/iPhone there is a text file that contains the following: 在/ Developer / Examples / iPhone中,有一个包含以下内容的文本文件:

README Sample code and example applications for the iPhone SDK are available as part of the iPhone Reference Library. 自述文件iPhone参考库提供了iPhone SDK的示例代码和示例应用程序。 You can find them in Xcode in the Documentation window, or online at http://developer.apple.com/iphone/ . 您可以在“文档”窗口的Xcode中找到它们,也可以在http://developer.apple.com/iphone/在线找到它们。

Apple's iOS Developer samples are also included in Apple's Developer Documentation, the best way to use these samples is to open the Developer Documentation in Xcode and navigate to the sample. Apple的开发人员文档中还包括Apple的iOS开发人员示例,使用这些示例的最佳方法是在Xcode中打开开发人员文档并导航至该示例。 You can then browse the sample source code and documentation or open the sample directly from there. 然后,您可以浏览示例源代码和文档,或直接从此处打开示例。 see this blog post . 请参阅此博客文章

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

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