1 #import <Foundation/NSObject.h>
2 #import <QuartzCore/CABase.h>
4 @
class CAMediaTimingFunction
;
6 CA_EXPORT NSString
*const kCATransactionAnimationDuration
;
7 CA_EXPORT NSString
*const kCATransactionDisableActions
;
8 CA_EXPORT NSString
*const kCATransactionAnimationTimingFunction
;
9 CA_EXPORT NSString
*const kCATransactionCompletionBlock
;
11 @interface CATransaction
: NSObject
13 + (BOOL
)disableActions
;
14 + (CFTimeInterval
)animationDuration
;
15 + (CAMediaTimingFunction
*)animationTimingFunction
;
16 //+(void (^)(void))completionBlock;
17 + valueForKey
:(NSString
*)key
;
19 + (void)setAnimationDuration
:(CFTimeInterval
)value
;
20 + (void)setAnimationTimingFunction
:(CAMediaTimingFunction
*)value
;
21 //+(void)setCompletionBlock:(void (^)(void))value;
22 + (void)setDisableActions
:(BOOL
)value
;
23 + (void)setValue
:value forKey
:(NSString
*)key
;