Mac Developer Library

Developer

Quartz Framework Reference QCCompositionParameterViewDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

QCCompositionParameterViewDelegate

The QCCompositionParameterViewDelegate informal protocol allows your application to define which parameters should be visible in a QCCompositionParameterView object.

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


import Quartz @import Quartz;

Availability


Available in OS X v10.5 and later.
  • Allows you to define which composition parameters are visible in the user interface when the composition parameter view refreshes.

    Declaration

    Swift

    func compositionParameterView(_ parameterView: QCCompositionParameterView!, shouldDisplayParameterWithKey portKey: String!, attributes portAttributes: [NSObject : AnyObject]!) -> Bool

    Objective-C

    - (BOOL)compositionParameterView:(QCCompositionParameterView *)parameterView shouldDisplayParameterWithKey:(NSString *)portKey attributes:(NSDictionary *)portAttributes

    Parameters

    parameterView

    The composition parameter view in which the selection changed.

    portKey

    A key for one of the composition parameters, which is provided to you by the Quartz Composer engine.

    portAttributes

    A dictionary of the attributes that you want to display in the user interface.

    Return Value

    ReturnYEStrue if the port attributes should be displayed; NOfalse otherwise.

    Import Statement

    import Quartz

    Availability

    Available in OS X v10.5 and later.