QCPlug class provides the base class to subclass for writing custom Quartz Composer patches. You implement a custom patch by subclassing
QCPlug, overriding the appropriate methods, packaging the code as an
NSBundle object, and installing the bundle in the appropriate location. A bundle can contain more than one subclass of
QCPlug, allowing you to provide a suite of custom patches in one bundle. Quartz Composer Custom Patch Programming Guide provides detailed instructions on how to create and package a custom patch. QCPlugIn Class Reference supplements the information in the programming guide.
- macOS 10.4–10.15Deprecated
The methods related to the executing the custom patch (called when the Quartz Composer engine is rendering) are passed an opaque object that conforms to the
QCPlug protocol. This object represents the execution context of the
QCPlug object. You should not retain the execution context or use it outside of the scope of the execution method that it is passed to.