The Quartz Composer framework defines classes and protocols that work with compositions built using the Quartz Composer development tool. This book describes how to use the QCView
and QCRenderer
classes, and how to include compositions in webpages and widgets.
You should read this document if you are a developer who wants to load, play, and control compositions programmatically from a Cocoa application. This document assumes that you are familiar with the Quartz Composer development tool and the information in Quartz Composer User Guide. If you want to learn how to use the QCPlugIn
class to create custom patches that you can use from within the Quartz Composer development tool, see Quartz Composer Custom Patch Programming Guide.
This document is organized as follows:
“Using QCView to Create a Standalone Composition” discusses how to render a composition to a QCView
object using Interface Builder but no code.
“Publishing Ports and Binding Them to Controls” shows how to add controls to the user interface that are bound to one or more published ports in a composition.
“Using the QCRenderer Class to Play a Composition” describes the QCRenderer
class and shows how to use it to load and play a composition programmatically.
“Adding Compositions to Webpages and Widgets” describes how to include a composition in a webpage or Dashboard widget.
These resources are essential for anyone wanting to program using the Quartz Composer framework:
Quartz Composer Reference Collection provides documentation for the Objective-C programming interface for Quartz Composer.
/Developer/Examples/Quartz Composer Sample Code
contains a variety of Quartz Composer compositions.
The Quartz Composer development mailing list (quartzcomposer-dev) is an excellent place to discuss programming issues or topics with other developers.
Last updated: 2008-10-15