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

Adding and configuring Instruments

The Instruments application comes with a wide range of built-in Instruments to make your job easier, by using them to gather data from one or more processes. Most of these Instruments require little configuration to use, and are simply added to your trace document to start gathering trace data. In this recipe, we will look at how we can add and configure Instruments into an existing trace document.

Getting ready

In this section, we will learn how to add and configure Instruments.

How to do it...

To learn how to add and configure Instruments, follow the following steps outlined:

  1. Open the MemoryLeaks.xcodeproj project file.
  2. Open the ViewController.m implementation file from the Project Navigator window.
  3. Modify 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