forked from core-plot/core-plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPTAnimationOperation.h
More file actions
42 lines (33 loc) · 1.16 KB
/
CPTAnimationOperation.h
File metadata and controls
42 lines (33 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#import "CPTAnimation.h"
#import "CPTDefinitions.h"
@class CPTAnimationPeriod;
@interface CPTAnimationOperation : NSObject
/// @name Animation Timing
/// @{
@property (nonatomic, strong, nonnull) CPTAnimationPeriod *period;
@property (nonatomic, assign) CPTAnimationCurve animationCurve;
/// @}
/// @name Animated Property
/// @{
@property (nonatomic, strong, nonnull) id boundObject;
@property (nonatomic, nonnull) SEL boundGetter;
@property (nonatomic, nonnull) SEL boundSetter;
/// @}
/// @name Delegate
/// @{
@property (nonatomic, cpt_weak_property, nullable) id<CPTAnimationDelegate> delegate;
/// @}
/// @name Status
/// @{
@property (atomic, getter = isCanceled) BOOL canceled;
/// @}
/// @name Identification
/// @{
@property (nonatomic, readwrite, copy, nullable) id<NSCopying, NSObject> identifier;
@property (nonatomic, readwrite, copy, nullable) NSDictionary *userInfo;
/// @}
/// @name Initialization
/// @{
-(nonnull instancetype)initWithAnimationPeriod:(nonnull CPTAnimationPeriod *)animationPeriod animationCurve:(CPTAnimationCurve)curve object:(nonnull id)object getter:(nonnull SEL)getter setter:(nonnull SEL)setter NS_DESIGNATED_INITIALIZER;
/// @}
@end