O'Reilly logo

Xcode 4 iOS Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – creating the AccelGyroExample project

We will now proceed with creating our AccelGyroExample project which will show how to determine and handle the accelerometer and gyroscope features:

  1. Launch Xcode from the /Xcode4/Applications folder.
  2. Choose Create a new Xcode project, or File | New Project.
  3. You will be prompted to choose a project type and template.
  4. From the Project Template Dialog, select the View-based Application project type.
  5. Ensure that you have selected iPhone from the Device Family drop-down as the type of View to create.
  6. Click on the Next button to proceed to the next step.
  7. Specify a name for the project which you want to create.
  8. Enter AccelGyroExample and then click on the Next button to proceed to the next step in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required