Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / QuartzCore / CAAnimation.h
blobbb13bf3b5e3d97036912b15d425a9cc207d578d0
1 #import <Foundation/NSObject.h>
2 #import <QuartzCore/CABase.h>
3 #import <QuartzCore/CAMediaTiming.h>
4 #import <QuartzCore/CAAction.h>
6 @class CAMediaTimingFunction;
8 CA_EXPORT NSString *const kCATransitionFade;
9 CA_EXPORT NSString *const kCATransitionMoveIn;
10 CA_EXPORT NSString *const kCATransitionPush;
11 CA_EXPORT NSString *const kCATransitionReveal;
13 CA_EXPORT NSString *const kCATransitionFromLeft;
14 CA_EXPORT NSString *const kCATransitionFromRight;
15 CA_EXPORT NSString *const kCATransitionFromTop;
16 CA_EXPORT NSString *const kCATransitionFromBottom;
18 @interface CAAnimation : NSObject <NSCopying, CAMediaTiming, CAAction> {
19 id _delegate;
20 BOOL _removedOnCompletion;
21 CAMediaTimingFunction *_timingFunction;
22 BOOL _autoreverses;
23 CFTimeInterval _beginTime;
24 CFTimeInterval _duration;
25 NSString *_fillMode;
26 float _repeatCount;
27 CFTimeInterval _repeatDuration;
28 float _speed;
29 CFTimeInterval _timeOffset;
32 + animation;
34 @property(retain) id delegate;
36 @property(getter=isRemovedOnCompletion) BOOL removedOnCompletion;
38 @property(retain) CAMediaTimingFunction *timingFunction;
40 @end
42 @interface NSObject (CAAnimationDelegate)
43 - (void)animationDidStart:(CAAnimation *)animation;
44 - (void)animationDidStop:(CAAnimation *)animation finished:(BOOL)finished;
45 @end
47 #import <QuartzCore/CAPropertyAnimation.h>
48 #import <QuartzCore/CABasicAnimation.h>
49 #import <QuartzCore/CATransition.h>
50 #import <QuartzCore/CAAnimationGroup.h>