react-native-navigation的迁移库

RNNModalManager.h 421B

123456789101112131415
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNStore.h"
  4. @interface RNNModalManager : NSObject
  5. @property (nonatomic, strong) UIViewController<RNNRootViewProtocol>* toVC;
  6. -(instancetype)initWithStore:(RNNStore*)store;
  7. -(void)showModal:(UIViewController*)viewController completion:(RNNTransitionCompletionBlock)completion;
  8. -(void)dismissModal:(NSString*)componentId;
  9. -(void)dismissAllModals;
  10. @end