Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAnimationOperation.h
Go to the documentation of this file.
1 #import "CPTAnimation.h"
2 #import "CPTDefinitions.h"
3 
4 @class CPTAnimationPeriod;
5 
7 
10 @property (nonatomic, strong, nonnull) CPTAnimationPeriod *period;
11 @property (nonatomic, assign) CPTAnimationCurve animationCurve;
13 
16 @property (nonatomic, strong, nonnull) id boundObject;
17 @property (nonatomic, nonnull) SEL boundGetter;
18 @property (nonatomic, nonnull) SEL boundSetter;
20 
23 @property (nonatomic, cpt_weak_property, nullable) id<CPTAnimationDelegate> delegate;
25 
28 @property (atomic, getter = isCanceled) BOOL canceled;
30 
33 @property (nonatomic, readwrite, copy, nullable) id<NSCopying, NSObject> identifier;
34 @property (nonatomic, readwrite, copy, nullable) NSDictionary *userInfo;
36 
39 -(nonnull instancetype)initWithAnimationPeriod:(nonnull CPTAnimationPeriod *)animationPeriod animationCurve:(CPTAnimationCurve)curve object:(nonnull id)object getter:(nonnull SEL)getter setter:(nonnull SEL)setter NS_DESIGNATED_INITIALIZER;
41 
42 @end
CPTAnimationOperation::boundGetter
SEL boundGetter
The boundObject getter method for the property to update for each animation frame.
Definition: CPTAnimationOperation.h:17
CPTAnimationOperation::boundSetter
SEL boundSetter
The boundObject setter method for the property to update for each animation frame.
Definition: CPTAnimationOperation.h:18
NSObject
CPTAnimationCurve
CPTAnimationCurve
Enumeration of animation curves.
Definition: CPTAnimation.h:9
CPTAnimation.h
CPTAnimationOperation::userInfo
NSDictionary * userInfo
Application-specific user info that can be attached to the operation.
Definition: CPTAnimationOperation.h:34
CPTAnimationOperation::delegate
id< CPTAnimationDelegate > delegate
The animation delegate.
Definition: CPTAnimationOperation.h:23
CPTAnimationOperation::animationCurve
CPTAnimationCurve animationCurve
The animation curve used to animate this operation.
Definition: CPTAnimationOperation.h:11
-[NSObject copy]
id copy
CPTAnimationOperation::boundObject
id boundObject
The object to update for each animation frame.
Definition: CPTAnimationOperation.h:16
CPTAnimationPeriod
Animation timing information and animated values.
Definition: CPTAnimationPeriod.h:7
CPTAnimationOperation::period
CPTAnimationPeriod * period
The start value, end value, and duration of this animation operation.
Definition: CPTAnimationOperation.h:10
CPTDefinitions.h
CPTAnimationOperation
Describes all aspects of an animation operation, including the value range, duration,...
Definition: CPTAnimationOperation.h:7
CPTAnimationOperation::identifier
id< NSCopying, NSObject > identifier
An object used to identify the animation operation in collections.
Definition: CPTAnimationOperation.h:33
CPTAnimationOperation::canceled
BOOL canceled
If YES, this animation operation has been canceled and will no longer post updates.
Definition: CPTAnimationOperation.h:28
cpt_weak_property
#define cpt_weak_property
A custom definition for automatic reference counting (ARC) weak properties that falls back to assign ...
Definition: CPTDefinitions.h:32