Files
react-native-reanimated/ios/Transitioning/REATransitionAnimation.h
2019-04-04 09:27:15 +02:00

18 lines
542 B
Objective-C

#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
andKeyPath:(NSString*)keyPath;
- (void)play;
- (void)delayBy:(CFTimeInterval)delay;
- (CFTimeInterval)finishTime;
- (CFTimeInterval)duration;
@end