Mac Developer Library

Developer

QuartzCore Framework Reference CIFilter Core Animation Additions

Options
Deployment Target:

On This Page
Language:

CIFilter

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.

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import QuartzCore

Objective-C

@import QuartzCore;

Availability


Available in OS X v10.5 and later.
  • name name Property

    The name of the receiver.

    Declaration

    Swift

    var name: String!

    Objective-C

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

    Import Statement

    Objective-C

    @import QuartzCore;

    Swift

    import QuartzCore

    Availability

    Available in OS X v10.5 and later.

  • enabled enabled Property

    Determines if the receiver is enabled. Animatable.

    Declaration

    Swift

    var enabled: Bool

    Objective-C

    @property(getter=isEnabled) BOOL enabled

    Discussion

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

    Import Statement

    Objective-C

    @import QuartzCore;

    Swift

    import QuartzCore

    Availability

    Available in OS X v10.5 and later.

  • A synthesized accessor for the enabled property.

    Declaration

    Objective-C

    - (BOOL)isEnabled

    See Also

    enabled