Class

QCCompositionRepository

The QCCompositionRepository class represents a system-wide centralized repository of built-in and installed Quartz Composer compositions (/Library/Compositions and ~/Library/Compositions). The QCCompositionRepository class cannot be subclassed.

Declaration

@interface QCCompositionRepository : NSObject

Overview

Compositions in the repository are represented by the QCComposition class. You can use the methods of the QCCompositionRepository class to fetch all compositions or only those that meet specific criteria.

Topics

Getting the Composition Repository

+ sharedCompositionRepository

Returns the shared instance of the composition repository.

Fetching Compositions

- compositionWithIdentifier:

Returns the composition that corresponds to the identifier.

- compositionsWithProtocols:andAttributes:

Returns an array of compositions that match a set of criteria.

- allCompositions

Returns an array that contains all compositions currently in the composition repository.

Notifications

QCCompositionRepositoryDidUpdateNotification

Posted whenever the list of compositions in the composition repository is updated.

Relationships

Inherits From