Mac Developer Library

Developer

IKFilterUIView Class Reference

Options
Deployment Target:

On This Page

IKFilterUIView

The IKFilterUIView class provides a view that contains input parameter controls for a Core Image filter (CIFilter). You need to use this class when providing a user interface for a custom filter. The class creates a view that has an object controller for the given filter. It also retains the filter.

  • Creates a view that contains controls for the input parameters of a filter.

    Declaration

    + (id)viewWithFrame:(NSRect)frameRect filter:(CIFilter *)inFilter

    Parameters

    frameRect

    The rectangle that defines the area of the view.

    inFilter

    A Core Image filter. The view retains the filter.

    Return Value

    An IKFilterUIView object that contains controls for the input parameters of the provided filter.

  • Initializes a view that contains controls for the input parameters of a filter.

    Declaration

    - (id)initWithFrame:(NSRect)frameRect filter:(CIFilter *)inFilter

    Parameters

    frameRect

    The rectangle that defines the area of the view.

    inFilter

    A Core Image filter. The view retains the filter.

    Return Value

    The IKFilterUIView object initialized with controls for the input parameters of the provided filter.

  • Returns the Core Image filter associated with the view.

    Declaration

    - (CIFilter *)filter

    Return Value

    The Core Image filter associated with the view.

  • Returns the object controller for the bindings between the filter and its view.

    Declaration

    - (NSObjectController *)objectController

    Return Value

    The object controller for the bindings between the filter and its view.