react-native-navigation的迁移库

RNNTransitionStateHolder.h 950B

123456789101112131415161718192021222324252627282930
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNOptions.h"
  4. @interface RNNTransitionStateHolder : RNNOptions
  5. @property (nonatomic) double startAlpha;
  6. @property (nonatomic) double endAlpha;
  7. @property (nonatomic) BOOL interactivePop;
  8. @property (nonatomic) double duration;
  9. @property (nonatomic) double springVelocity;
  10. @property (nonatomic) double springDamping;
  11. @property (nonatomic) double startDelay;
  12. @property (nonatomic, strong) NSString* fromId;
  13. @property (nonatomic, strong) NSString* toId;
  14. @property (nonatomic) BOOL isSharedElementTransition;
  15. @property (nonatomic) double startY;
  16. @property (nonatomic) double endY;
  17. @property (nonatomic) double startX;
  18. @property (nonatomic) double endX;
  19. @property (nonatomic) UIViewAnimationOptions interpolation;
  20. - (instancetype)initWithTransition:(NSDictionary*)transition;
  21. - (void)setupInitialTransitionForView:(UIView *)view;
  22. - (void)completeTransitionForView:(UIView*)view;
  23. @end