Introduction to Cocoa Performance Guidelines
This document provides practical advice and tips on how to improve the performance of your Cocoa applications. If you create any type of Cocoa program, including command-line tools, you will find information to help you improve its performance.
Organization of This Document
This document contains the following articles:
General Recommendations provides some general tips for achieving good performance with Cocoa.
Unblocking Your User Interface explains ways to perform lengthy tasks in a way that keeps your user interface responsive to user commands.
Using Views Effectively explains how to get the best performance out of your custom NSView subclasses.
Cocoa Live Window Resizing provides tips for speeding up your drawing code during a live window resize.
Cocoa Bindings Tips provides basic tips for improving performance when using Cocoa bindings.
Improving NSBezierPath Rendering Times describes ways to speed up drawing operations involving the NSBezierPath object.
String Management provides tips for using strings effectively in your application.
Notifications provides tips for using notifications efficiently and offers alternatives for communicating among the objects in your application.