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
> {
20 BOOL _removedOnCompletion
;
21 CAMediaTimingFunction
*_timingFunction
;
23 CFTimeInterval _beginTime
;
24 CFTimeInterval _duration
;
27 CFTimeInterval _repeatDuration
;
29 CFTimeInterval _timeOffset
;
34 @
property(retain
) id delegate
;
36 @
property(getter
=isRemovedOnCompletion
) BOOL removedOnCompletion
;
38 @
property(retain
) CAMediaTimingFunction
*timingFunction
;
42 @interface
NSObject (CAAnimationDelegate
)
43 - (void)animationDidStart
:(CAAnimation
*)animation
;
44 - (void)animationDidStop
:(CAAnimation
*)animation finished
:(BOOL
)finished
;
47 #import <QuartzCore/CAPropertyAnimation.h>
48 #import <QuartzCore/CABasicAnimation.h>
49 #import <QuartzCore/CATransition.h>
50 #import <QuartzCore/CAAnimationGroup.h>