iOS Developer Library

Developer

QuartzCore Framework Reference CABasicAnimation Class Reference

Options
Deployment Target:

On This Page
Language:

CABasicAnimation

CABasicAnimation provides basic, single-keyframe animation capabilities for a layer property. You create an instance of CABasicAnimation using the inherited animationWithKeyPath: method, specifying the key path of the property to be animated in the render tree. More...

Inheritance


Import Statement


import QuartzCore @import QuartzCore;

Availability


Available in iOS 2.0 and later.
  • fromValue fromValue Property

    Defines the value the receiver uses to start interpolation.

    Declaration

    Swift

    var fromValue: AnyObject!

    Objective-C

    @property(strong) id fromValue

    Discussion

    See Setting Interpolation Values for details on how fromValue interacts with the other interpolation values.

    Import Statement

    import QuartzCore

    Availability

    Available in iOS 2.0 and later.

  • toValue toValue Property

    Defines the value the receiver uses to end interpolation.

    Declaration

    Swift

    var toValue: AnyObject!

    Objective-C

    @property(strong) id toValue

    Discussion

    See Setting Interpolation Values for details on how toValue interacts with the other interpolation values.

    Import Statement

    import QuartzCore

    Availability

    Available in iOS 2.0 and later.

  • byValue byValue Property

    Defines the value the receiver uses to perform relative interpolation.

    Declaration

    Swift

    var byValue: AnyObject!

    Objective-C

    @property(strong) id byValue

    Discussion

    See Setting Interpolation Values for details on how byValue interacts with the other interpolation values.

    Import Statement

    import QuartzCore

    Availability

    Available in iOS 2.0 and later.