react-native-navigation的迁移库

RNNViewLocation.h 931B

12345678910111213141516171819202122232425262728
  1. //
  2. // RNNViewLocation.h
  3. // ReactNativeNavigation
  4. //
  5. // Created by Elad Bogomolny on 03/10/2017.
  6. // Copyright © 2017 Wix. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. #import "RNNTransitionStateHolder.h"
  11. @class RNNTransitionStateHolder;
  12. @interface RNNViewLocation : NSObject
  13. @property (nonatomic) CGRect fromFrame;
  14. @property (nonatomic) CGPoint fromCenter;
  15. @property (nonatomic) CGSize fromSize;
  16. @property (nonatomic) CGRect toFrame;
  17. @property (nonatomic) CGPoint toCenter;
  18. @property (nonatomic) CGSize toSize;
  19. @property (nonatomic) CGAffineTransform transform;
  20. @property (nonatomic) CGAffineTransform transformBack;
  21. -(instancetype)initWithTransition:(RNNTransitionStateHolder*)transition andVC:(UIViewController*)vc;
  22. -(CGRect)frameFromSuperViewController:(UIView*)view andVC:(UIViewController*)vc;
  23. -(CGPoint)centerFromSuperViewController:(UIView*)view andVC:(UIViewController*)vc;
  24. @end