2024-05-02 15:08:24 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@interface REATransitionAnimation : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic) CAAnimation *animation;
|
|
|
|
@property (nonatomic) CALayer *layer;
|
|
|
|
@property (nonatomic) NSString *keyPath;
|
|
|
|
|
|
|
|
+ (REATransitionAnimation *)transitionWithAnimation:(CAAnimation *)animation
|
|
|
|
layer:(CALayer *)layer
|
2024-10-29 07:36:43 +00:00
|
|
|
andKeyPath:(NSString *)keyPath;
|
2024-05-02 15:08:24 +00:00
|
|
|
- (void)play;
|
|
|
|
- (void)delayBy:(CFTimeInterval)delay;
|
|
|
|
- (CFTimeInterval)finishTime;
|
|
|
|
- (CFTimeInterval)duration;
|
|
|
|
|
|
|
|
@end
|