Getting ready for the SDK

Getting ready for the SDK

over 4 GB.

It gives you the tools you need to program(Xcode 4),debug(Instruments),and test(Simulator)your

iPhone, iPod Touch, and iPad code.

Note: You must have an Intel-based Apple Macintosh running Mac OS X 10.6.5 or higher to use the SDK.

1、Installing the SDK

从Apple的iOS Dev Center下载。 http://developer.apple.com/devcenter/ios/。你需要注册为一名iOS Developer才行。在该site上,你还可以查看Apple documentation以及样例源码。

NOTE: Xcode 4每年要US$99,如果你是iOS Developer Program的成员,那就可以免费下载。如果不是的话,那你需要从Mac App Store花US$4.99买,或者下载免费的Xcode 3。

the apple docs and the sdk

上面刚提到的URL,你可以从那里看到完整的API文档以及样例代码。其中不错的资料有iOS Overview、

Learning Objective-C: A Primer,加上SDK的一个完整的class和protocol参考。也可以从Xcode里访问

所有的这些文档。

下载完SDK后,它是一个disk image,双击它,然后双击弹出的文件夹中的Xcode和iOS SDK,就启动了安装

过程。大约要20至40分钟。

 In order for your program to run on iPhone and iPads, you'll need an Apple certificate.

There's another way to deliver an application to iPhone or iPad: using HTML5+JavaScript for web apps.

 SDK完成安装后,是在磁盘上的/Developer目录中。大多数程序都是在/Developer/Applications目录中。

iOS Simulator是在/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications中。

猜你喜欢

转载自zsjg13.iteye.com/blog/2191400
SDK