Next Page > Hide TOC

CIFilter Core Animation Additions

Inherits from
Conforms to
Framework
/System/Library/Frameworks/QuartzCore.framework
Declared in
CACIFilterAdditions.h
Companion guides

Overview

Core Animation adds two additional properties to the CIFilter class. These properties are accessible through key-value coding as well as the properties declared below.

Tasks

Naming Filter Instances

Enabling Filter Instances

Properties

For more about Objective-C properties, see “Properties” in The Objective-C 2.0 Programming Language.

enabled

Determines if the receiver is enabled. Animatable.

@property BOOL enabled

Discussion

The receiver is applied to its input when this property is set to YES. Default is YES.

Availability
Declared In
CACIFilterAdditions.h

name

The name of the receiver.

@property(copy) NSString *name

Discussion

Default is nil. Each CIFilter instance can have an assigned name. The name is used to construct key paths to the filter’s attributes. For example, if a CIFilter instance has the name “myExposureFilter”, you refer to attributes of the filter using a key path such as “filters.myExposureFilter.inputEV”. Layer animations may also access filter attributes via these key paths.

Availability
Declared In
CACIFilterAdditions.h

Instance Methods

isEnabled

A synthesized accessor for the enabled property.

- (BOOL)isEnabled

See Also


Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-24)


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.