Start a New Xcode 3 Project
To start Xcode, click on the .app file at this location. You may wish to keep an icon for Xcode in your Dock. While Xcode is open, right click on the icon and choose the Keep in Dock option.
You will see the Welcome to Xcode window. Let's test the installation by creating a new project. Choose the first option in the left menu. The New Project dialog box will open. Under iOS you have two tabs which are Applications and Library. These are the options you have under each tab.
- Navigation-based Application - Navigation controller UI
- OpenGL ES Application - Open GL ES animation
- Split View-based Application - Split view controller UI
- Tab Bar Application - Tab bar controller UI
- Utility Application - Has both main and flip side view
- View-based Application - Single view controller and nib file
- Window-based Application - Generic startup with delegate and window
- Cocoa Touch Static Library
You will also notice a Product panel under the project icons. This will change as you click on each product option. For example, with the OpenGL ES, Tab Bar and View-based apps you can set the Product to iPhone or iPad. With Xcode 3 the Window-based app is the only option that supports a Universal app along with the iPhone and iPad apps.
Let's choose the Window-based Application option, set the Product to Universal and click Choose. Xcode will ask for a location to place your files and a name for your new project.
The Xcode workspace opens with a three panel view. The left panel displays all the files and folders for your project. Depending on what file or folder you click, the files will be displayed in the top right panel. If you have clicked on a file, the code will be displayed in the bottom right panel.
Now for the moment of truth. Click the Build and Run button. The iPad simulator should open showing a blank white screen. When you click the Home button, you will see a generic white icon for your new app.
Editor's Picks Articles
Top Ten Articles
Content copyright © 2019 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.