Developing for iPhone

Learn how to create and develop iPhone applications from scratch.

Tagged with ‘NSLog’

Tutorial 1-3: Introduction to Variables

Posted by Henry On April - 13 - 2009 1 COMMENT

This tutorial assumes you have followed tutorials 1-1 and 1-2, if you haven’t – go and complete these now.

Ok, let’s open our project we made in the previous tutorial. To open a project follow these steps:

  1. Start XCode
  2. Click File > Open then navigate to your project folder. This will be in the directory you saved it to.
  3. In your project folder, click “Hello World.xcodeproj” and click the Open button.
  4. Your project should open in a new window. Another way of opening a project is by navigating to it in finder and double-clicking the .xcodeproject file. If you have had the project open recently, click File > Open Recent Project and look for the project you want in the list.

Now you should have your project open. Double-click “Hello World.m” to open it for editing. Feel free to run it again to remind yourself what the program does. Remember, you can do this by clicking the Build and Go icon.

 

Read the rest of this entry »