Next Page > Hide TOC

IKFilterUIView Class Reference

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

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
See Also
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
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
See Also
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
Declared In
IKFilterUIView.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-12-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.