react-native-navigation的迁移库

RNNTransitionStateHolder.h 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. #import <Foundation/Foundation.h>
  2. #import "RNNElementView.h"
  3. #import "RNNViewLocation.h"
  4. #import "RNNAnimatedView.h"
  5. @class RNNAnimatedView;
  6. @class RNNViewLocation;
  7. @interface RNNTransitionStateHolder : NSObject
  8. @property (nonatomic) double startAlpha;
  9. @property (nonatomic) double endAlpha;
  10. @property (nonatomic) BOOL interactivePop;
  11. @property (nonatomic) double duration;
  12. @property (nonatomic) double springVelocity;
  13. @property (nonatomic) double springDamping;
  14. @property (nonatomic) double startDelay;
  15. @property (nonatomic, strong) RNNElementView* fromElement;
  16. @property (nonatomic, strong) NSString* fromElementType;
  17. @property (nonatomic) UIViewContentMode fromElementResizeMode;
  18. @property (nonatomic, strong) RNNElementView* toElement;
  19. @property (nonatomic, strong) NSString* fromId;
  20. @property (nonatomic, strong) NSString* toId;
  21. @property (nonatomic, strong) RNNAnimatedView* animatedView;
  22. @property (nonatomic) BOOL isSharedElementTransition;
  23. @property (nonatomic, strong) RNNViewLocation* locations;
  24. @property (nonatomic) BOOL isFromVC;
  25. @property (nonatomic) double startY;
  26. @property (nonatomic) double endY;
  27. @property (nonatomic) double startX;
  28. @property (nonatomic) double endX;
  29. -(instancetype)initWithTransition:(NSDictionary*)transition;
  30. @end