O'Reilly logo

Xcode 4 Cookbook 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

Running and profiling an iOS project

In this recipe, we will learn how to use the System Trace Instrument to monitor performance of your applications.

Getting ready

In this section, we will learn how to run the Instruments application from within the Xcode environment in order to profile our TwitterExample application.

How to do it...

To begin profiling our TwitterExample, follow the following outlined steps:

  1. Select the TwitterExample option from the Project Navigator window.
  2. Navigate to Product | Build For | Profiling, from the Product menu, or alternatively use the keyboard shortcut Shift + Command + I.
  3. Next, choose Profile from the Product menu to launch the Instruments application. Similarly, you can use the keyboard shortcut Command + I.
  4. Once this ...

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