react-native-navigation的迁移库

ElementBaseTransition.h 609B

12345678910111213141516171819
  1. #import <Foundation/Foundation.h>
  2. #import "TransitionDetailsOptions.h"
  3. #import "DisplayLinkAnimation.h"
  4. #import "RNNInterpolator.h"
  5. #define DEGREES_TO_RADIANS(angle) ((angle) / 180.0 * M_PI)
  6. @interface ElementBaseTransition : NSObject <DisplayLinkAnimation>
  7. - (instancetype)initWithView:(UIView *)view startDelay:(NSTimeInterval)startDelay duration:(NSTimeInterval)duration interpolation:(Text *)interpolation;
  8. - (CGFloat)defaultDuration;
  9. @property (readonly, strong) UIView* view;
  10. @property (readonly, nonatomic) NSTimeInterval startDelay;
  11. @property (readonly, nonatomic) NSTimeInterval duration;
  12. @end