O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

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

An Example Using the Time Profiler

The best way to learn how to use Instruments is through example. In this section, you use the Time Profiler instrument to improve the performance of the CarValet app. To do so, you need to use a real device. Although Time Profiler works on the simulator, the desktop is so fast that possible issues appear as small blips.

The slower the device, the easier it is to spot issues. The examples shown in this section were done using an iPhone 4, though they show up on any iOS device: iPod touch, iPhone, or iPad. After opening the CarValet project, either yours or the one provided with the chapter sample code, run the Time Profiler by following these steps:

1. Use a USB cable to attach an iOS device that is set up for ...

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