Sunday, November 8, 2009

A dummy "Hello World", my first xcode project using iPhone SDK 3

Start Xcode
By default, it locate in /Developer/Applications/
(close the Welcome Window now.)

Create a New Project
Click File->New Project from the top menu.


- Select Application under iPhone OS heading on the left, and select View-based Application template on the right. This template provides a starting point for an application that uses a single view. It provides a view controller to manager the view, and a nib file that contains the view.


Click Choose... to choose the location to save the works, and the name to save as.


Xcode will create the new project.


Click the Build and Go button on the top right now, to launch the iPhone Simulator.


My first iPhone program, with nothing, is here.