Chapter 2. Creating Your First App: Hello World
In This Chapter
Setting up your environment
Test-driving the SDK
Programming: Hello World
Now that you have had an introduction to the iPhone SDK, it's time to get your hands dirty. In the grand programming tradition, we are going to assist you through writing the Hello World application for the iPhone. If you follow the steps in this chapter, you will get to see your first application happily running in the palm of your hand.
But before you start coding, you need to be sure that your development environment is set up correctly. This is similar to a pilot performing a preflight check of the plane before takeoff. Things can go wrong in the air, but you will minimize them if you confirm everything is correct before you leave the ground.
You will need to download and install all the necessary iPhone SDK tools. Following this you will then download and run one of the example applications provided in the iPhone SDK tutorials. The example will verify your environment and whet your appetite. Finally, you will be ready to write your first application from scratch, and as a bonus you will become oriented with the tools and processes that will become your friends as you move forward.
Setting Up Your Environment
As we've mentioned, it's important to make sure that your development environment is up and running before you begin writing code. If this is the first time you have installed the iPhone SDK, you should have no problems. If you have tried to ...
Get iPhone® Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.