react-native-navigation的迁移库

RNNViewLocation.h 804B

12345678910111213141516171819202122
  1. #import <Foundation/Foundation.h>
  2. #import "RNNElementView.h"
  3. @interface RNNViewLocation : NSObject
  4. @property (nonatomic) CGRect fromFrame;
  5. @property (nonatomic) CGPoint fromCenter;
  6. @property (nonatomic) CGSize fromSize;
  7. @property (nonatomic) CGRect toFrame;
  8. @property (nonatomic) CGPoint toCenter;
  9. @property (nonatomic) CGSize toSize;
  10. @property (nonatomic) CGAffineTransform transform;
  11. @property (nonatomic) CGAffineTransform transformBack;
  12. -(instancetype)initWithFromElement:(RNNElementView*)fromElement toElement:(RNNElementView*)toElement startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint andVC:(UIViewController*)vc;
  13. -(CGRect)frameFromSuperViewController:(UIView*)view andVC:(UIViewController*)vc;
  14. -(CGPoint)centerFromSuperViewController:(UIView*)view andVC:(UIViewController*)vc;
  15. @end