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

Templates and Instruments

When Instruments launches, you see a set of templates, not instruments. Templates are the tool’s way of presenting task-based sets of instruments. For example, you can use Leaks to measure memory allocation and leaks, Time Profiler to see where the app is spending time, and so on.

Choosing a template creates a profiling document with the recommended set of instruments. For example, the Leaks template includes both memory allocation and memory leak instruments. The Allocations instrument shows the amount of memory you are using at any point. Leaks tries to find allocated memory with no references. Both instruments are important in finding leaks.

Table 14-1 lists the major templates, what they are useful for, and whether ...

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