react-native-navigation的迁移库

RNNInteractivePopAnimator.h 717B

12345678910111213141516
  1. #import <UIKit/UIKit.h>
  2. #import "RNNElementView.h"
  3. @interface RNNInteractivePopAnimator : UIPercentDrivenInteractiveTransition <UINavigationControllerDelegate, UIViewControllerAnimatedTransitioning, UIViewControllerInteractiveTransitioning>
  4. @property (nonatomic, strong) RNNElementView* topView;
  5. @property (nonatomic, strong) RNNElementView* bottomView;
  6. @property (nonatomic, strong) UIViewController* vc;
  7. @property (nonatomic) CGRect originFrame;
  8. @property CGPoint toCenter;
  9. -(instancetype)initWithTopView:(RNNElementView*)topView andBottomView:(RNNElementView*)bottomView andOriginFrame:(CGRect)originFrame andViewController:(UIViewController*)vc;
  10. -(void)handleGesture:(UIPanGestureRecognizer*)recognizer;
  11. @end