Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAnimation(CPTAnimationPeriodAdditions) Category Reference

#import <CPTAnimationPeriod.h>

Public Class Methods

CGFloat Property Animation
(nonnull CPTAnimationOperation *) + animate:property:from:to:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:from:to:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:from:to:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
CGPoint Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromPoint:toPoint:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromPoint:toPoint:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromPoint:toPoint:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
CGSize Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromSize:toSize:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromSize:toSize:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromSize:toSize:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
CGRect Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromRect:toRect:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromRect:toRect:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromRect:toRect:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
NSDecimal Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromDecimal:toDecimal:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromDecimal:toDecimal:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromDecimal:toDecimal:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
NSNumber Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromNumber:toNumber:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromNumber:toNumber:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromNumber:toNumber:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
CPTPlotRange Property Animation
(nonnull CPTAnimationOperation *) + animate:property:fromPlotRange:toPlotRange:duration:withDelay:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromPlotRange:toPlotRange:duration:animationCurve:delegate:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 
(nonnull CPTAnimationOperation *) + animate:property:fromPlotRange:toPlotRange:duration:
 Creates an animation operation with the given properties and adds it to the animation queue. More...
 

Method Documentation

◆ animate:property:from:to:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
from: (CGFloat from
to: (CGFloat to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:from:to:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
from: (CGFloat from
to: (CGFloat to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:from:to:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
from: (CGFloat from
to: (CGFloat to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromDecimal:toDecimal:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromDecimal: (NSDecimal from
toDecimal: (NSDecimal to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromDecimal:toDecimal:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromDecimal: (NSDecimal from
toDecimal: (NSDecimal to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromDecimal:toDecimal:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromDecimal: (NSDecimal from
toDecimal: (NSDecimal to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value for the animation. If NaN, the animation starts from the current value of the animated property.
toThe ending value for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromNumber:toNumber:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromNumber: (nullable NSNumber *)  from
toNumber: (nonnull NSNumber *)  to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value. If NaN or nil, the animation starts from the current value of the animated property.
toThe ending value.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromNumber:toNumber:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromNumber: (nullable NSNumber *)  from
toNumber: (nonnull NSNumber *)  to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value. If NaN or nil, the animation starts from the current value of the animated property.
toThe ending value.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromNumber:toNumber:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromNumber: (nullable NSNumber *)  from
toNumber: (nonnull NSNumber *)  to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting value. If NaN or nil, the animation starts from the current value of the animated property.
toThe ending value.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPlotRange:toPlotRange:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPlotRange: (nonnull CPTPlotRange *)  from
toPlotRange: (nonnull CPTPlotRange *)  to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting plot range for the animation. If nil or any component of the range is NaN, the animation starts from the current value of the animated property.
toThe ending plot range for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPlotRange:toPlotRange:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPlotRange: (nonnull CPTPlotRange *)  from
toPlotRange: (nonnull CPTPlotRange *)  to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting plot range for the animation. If nil or any component of the range is NaN, the animation starts from the current value of the animated property.
toThe ending plot range for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPlotRange:toPlotRange:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPlotRange: (nonnull CPTPlotRange *)  from
toPlotRange: (nonnull CPTPlotRange *)  to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting plot range for the animation. If nil or any component of the range is NaN, the animation starts from the current value of the animated property.
toThe ending plot range for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPoint:toPoint:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPoint: (CGPoint from
toPoint: (CGPoint to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting point for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending point for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPoint:toPoint:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPoint: (CGPoint from
toPoint: (CGPoint to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting point for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending point for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromPoint:toPoint:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromPoint: (CGPoint from
toPoint: (CGPoint to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting point for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending point for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromRect:toRect:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromRect: (CGRect from
toRect: (CGRect to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting rectangle for the animation. If CGRectNull or any field is NaN, the animation starts from the current value of the animated property.
toThe ending rectangle for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromRect:toRect:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromRect: (CGRect from
toRect: (CGRect to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting rectangle for the animation. If CGRectNull or any field is NaN, the animation starts from the current value of the animated property.
toThe ending rectangle for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromRect:toRect:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromRect: (CGRect from
toRect: (CGRect to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting rectangle for the animation. If CGRectNull or any field is NaN, the animation starts from the current value of the animated property.
toThe ending rectangle for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromSize:toSize:duration:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromSize: (CGSize from
toSize: (CGSize to
duration: (CGFloat duration 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting size for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending size for the animation.
durationThe duration of the animation.
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromSize:toSize:duration:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromSize: (CGSize from
toSize: (CGSize to
duration: (CGFloat duration
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting size for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending size for the animation.
durationThe duration of the animation.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.

◆ animate:property:fromSize:toSize:duration:withDelay:animationCurve:delegate:

+ (nonnull CPTAnimationOperation *) animate: (nonnull id object
property: (nonnull NSString *)  property
fromSize: (CGSize from
toSize: (CGSize to
duration: (CGFloat duration
withDelay: (CGFloat delay
animationCurve: (CPTAnimationCurve animationCurve
delegate: (nullable id<CPTAnimationDelegate>)  delegate 

Creates an animation operation with the given properties and adds it to the animation queue.

Parameters
objectThe object to animate.
propertyThe name of the property of object to animate. The property must have both getter and setter methods.
fromThe starting size for the animation. If either coordinate is NaN, the animation starts from the current value of the animated property.
toThe ending size for the animation.
durationThe duration of the animation.
delayThe starting delay of the animation in seconds.
animationCurveThe animation curve used to animate the new operation.
delegateThe animation delegate (can be nil).
Returns
The queued animation operation.

Extends class CPTAnimation.


The documentation for this category was generated from the following files: