Mac Developer Library

Developer

Quartz Framework Reference IKFilterUIView Class Reference

Options
Deployment Target:

On This Page
Language:

IKFilterUIView

Inheritance


Conforms To


Import Statement


Swift

import Quartz

Objective-C

@import Quartz;

Availability


Available in OS X v10.5 and later.

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

    Swift

    class func viewWithFrame(_ frameRect: NSRect, filter inFilter: CIFilter!) -> AnyObject!

    Objective-C

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

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.5 and later.

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

    Declaration

    Swift

    init!(frame frameRect: NSRect, filter inFilter: CIFilter!)

    Objective-C

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

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.5 and later.

  • Returns the Core Image filter associated with the view.

    Declaration

    Swift

    func filter() -> CIFilter!

    Objective-C

    - (CIFilter *)filter

    Return Value

    The Core Image filter associated with the view.

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.5 and later.

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

    Declaration

    Swift

    func objectController() -> NSObjectController!

    Objective-C

    - (NSObjectController *)objectController

    Return Value

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

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.5 and later.