QCPlugInViewController
The QCPlugInViewController class communicates (through Cocoa bindings) between a custom patch and the view used for the internal settings of the custom patch. Only custom patches that use internal settings exposed to the user need to use the QCPlugInViewController class.
Declaration
class QCPlugInViewControllerOverview
You access the internal settings of a custom patch through key-value coding (KVC). All the KVC keys that represent the internal settings of the custom patch must be listed in its plugInKeys method.
The view controller for a custom patch expects
the nib file
File's Ownerclass set to theQCPlugInViewControllerclassthe view outlet connected to the view that contains the editing controls
The controls are bound to the File's Owner as the target and plugIn.XXX as the model key path, where XXX is the KVC key for a given internal setting of the custom patch instance.
Topics
Creating a Controller
Getting the QCPlugIn Object
See Also
Related Documentation
- Quartz Composer Custom Patch Programming Guide