IKFilterUIView Class Reference

Inherits from
Conforms to
Framework
System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in OS X v10.5 and later.
Declared in
IKFilterUIView.h
Related sample code

Overview

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.

Tasks

Creating and Initializing a Filter UI View

Getting Data from the Filter View

Class Methods

viewWithFrame:filter:

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

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

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

Instance Methods

filter

Returns the Core Image filter associated with the view.

- (CIFilter *)filter
Return Value

The Core Image filter associated with the view.

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

initWithFrame:filter:

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

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

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

objectController

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

- (NSObjectController *)objectController
Return Value

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

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