Optimizing Drawing

The documentation included with the Mac OS X Developer Tools includes an “Inside Mac OS X: Performance.” This document talks about the tools for improving performance and how to use them. The file is found at /Developer/Documentation/ Essentials/Performance/Performance.pdf.

Although all the techniques described in this document are useful for speeding up an application, there is not a lot of information about how to speed up drawing performance. It is worth reading this document because it will help with more general optimization and performance improvement.

There are many techniques that can be used to improve drawing performance. Most of this information is scattered throughout the Cocoa class references and other Mac OS ...

Get Cocoa® Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.