Hour 21. Advanced: Analyzing Code with Instruments

What You’ll Learn in This Hour:

How to use the Instruments feature to trace the operations of your program

How to repeatedly automate user interface actions with instruments

The Instruments application is Apple’s Xcode-like interface to a collection of tools that enable you to observe the status of a process, or of numerous processes on a running system. They also provide reports about things such as open files, memory usage, network usage, or user interface events.

Instruments operate primarily by observing method invocations and messages within the system at a very deep level, mostly via a command-line tool (although this is hidden when using the Instruments interface) called dtrace. ...

Get Sams Teach Yourself Xcode® 4 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.