Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / QuartzCore / CATransaction.h
blob5f62f3d1e7f5b6ae3a2c8f6d28826156ec87d181
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;
25 + (void)begin;
26 + (void)commit;
27 + (void)flush;
29 + (void)lock;
30 + (void)unlock;
32 @end