Contents

QCComposition

The QCComposition class represents a Quartz Composer composition that either:

Declaration

class QCComposition

Overview

  • comes from the system-wide composition repository (/Library/Compositions and ~/Library/Compositions) where it can be accessed by any application through the methods of the QCCompositionRepository class

  • is created from an arbitrary source (typically a file on disk) using one of its methods

This class cannot be subclassed.

A QCComposition object has the following information associated with it and that you can obtain by using the appropriate method of the QCComposition class:

  • Attributes include the name and description of the composition, copyright information, and whether or not its provided by macOS (built-in).

  • The protocols that the composition conforms to. A composition protocol defines a set of required and optional input parameters and output results.

Many methods of the QCRenderer, QCCompositionLayer, and QCView classes take a QCComposition object as a parameter.

Topics

Creating a Composition

Getting Information About a Composition

Getting Port Keys

Constants

See Also

Classes