Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAnimationOperation Class Reference

Describes all aspects of an animation operation, including the value range, duration, animation curve, property to update, and the delegate. More...

#import <CPTAnimationOperation.h>

+ Inheritance diagram for CPTAnimationOperation:
+ Collaboration diagram for CPTAnimationOperation:

Public Instance Methods

Initialization
(nonnull instancetype) - initWithAnimationPeriod:animationCurve:object:getter:setter:
 Initializes a newly allocated CPTAnimationOperation object. More...
 
- Public Instance Methods inherited from NSObject
(Class- classForCoder
 
(id- copy
 
(void) - dealloc
 
(void) - finalize
 
(id- init
 
(id- mutableCopy
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 

Properties

Animation Timing
CPTAnimationPeriodperiod
 The start value, end value, and duration of this animation operation. More...
 
CPTAnimationCurve animationCurve
 The animation curve used to animate this operation. More...
 
Animated Property
id boundObject
 The object to update for each animation frame. More...
 
SEL boundGetter
 The boundObject getter method for the property to update for each animation frame. More...
 
SEL boundSetter
 The boundObject setter method for the property to update for each animation frame. More...
 
Delegate
id< CPTAnimationDelegatedelegate
 The animation delegate. More...
 
Status
BOOL canceled
 If YES, this animation operation has been canceled and will no longer post updates. More...
 
Identification
id< NSCopying, NSObjectidentifier
 An object used to identify the animation operation in collections. More...
 
NSDictionaryuserInfo
 Application-specific user info that can be attached to the operation. More...
 

Additional Inherited Members

- Public Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 

Detailed Description

Describes all aspects of an animation operation, including the value range, duration, animation curve, property to update, and the delegate.

Method Documentation

◆ initWithAnimationPeriod:animationCurve:object:getter:setter:

- (nonnull instancetype) initWithAnimationPeriod: (nonnull CPTAnimationPeriod *)  animationPeriod
animationCurve: (CPTAnimationCurve curve
object: (nonnull id object
getter: (nonnull SEL getter
setter: (nonnull SEL setter 

Initializes a newly allocated CPTAnimationOperation object.

This is the designated initializer. The initialized object will have the following properties:

Parameters
animationPeriodThe animation period.
curveThe animation curve.
objectThe object to update for each animation frame.
getterThe boundObject getter method for the property to update for each animation frame.
setterThe boundObject setter method for the property to update for each animation frame.
Returns
The initialized object.

Property Documentation

◆ animationCurve

- (CPTAnimationCurve) animationCurve
readwritenonatomicassign

The animation curve used to animate this operation.

◆ boundGetter

- (SEL) boundGetter
readwritenonatomicassign

The boundObject getter method for the property to update for each animation frame.

◆ boundObject

- (nonnull id) boundObject
readwritenonatomicstrong

The object to update for each animation frame.

◆ boundSetter

- (SEL) boundSetter
readwritenonatomicassign

The boundObject setter method for the property to update for each animation frame.

◆ canceled

- (BOOL) canceled
readwriteatomicassign

If YES, this animation operation has been canceled and will no longer post updates.

◆ delegate

- (nullable id< CPTAnimationDelegate >) delegate
readwritenonatomicweak

The animation delegate.

◆ identifier

- (nullable id< NSCopying, NSObject >) identifier
readwritenonatomiccopy

An object used to identify the animation operation in collections.

◆ period

- (nonnull CPTAnimationPeriod *) period
readwritenonatomicstrong

The start value, end value, and duration of this animation operation.

◆ userInfo

- (nullable NSDictionary *) userInfo
readwritenonatomiccopy

Application-specific user info that can be attached to the operation.


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