Mac OS X Reference Library Apple Developer
Search

QCPlugInViewController Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
Availability
Available in Mac OS X v10.5 and later.
Declared in
QCPlugInViewController.h
Companion guides

Overview

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.

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 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.

Tasks

Creating a Controller

Getting the QCPlugIn Object

Instance Methods

initWithPlugIn:viewNibName:

Creates and initializes a controller for the specified QCPlugIn object and nib file.

- (id) initWithPlugIn:(QCPlugIn*)plugIn viewNibName:(NSString*)name

Parameters
plugIn

A QCPlugIn object that uses internal settings.

name

The name of the nib file that contains the view for the custom patch.

Return Value

A QCPlugInViewController object.

Availability
  • Available in Mac OS X v10.5 and later.
Declared In
QCPlugInViewController.h

plugIn

Returns the QCPlugIn object associated with the view controller for the custom patch.

- (QCPlugIn*) plugIn

Return Value

The QCPlugIn object associated with the view controller for the custom patch.

Availability
  • Available in Mac OS X v10.5 and later.
Declared In
QCPlugInViewController.h



Last updated: 2007-05-09

Did this document help you? Yes It's good, but... Not helpful...