react-native-navigation的迁移库

RNNNavigationStackManager.h 616B

12345678910111213141516171819
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNStore.h"
  4. @interface RNNNavigationStackManager : NSObject
  5. @property (nonatomic, strong) UIViewController* fromVC;
  6. @property (nonatomic, strong) RNNRootViewController* toVC;
  7. @property (nonatomic) int loadCount;
  8. -(instancetype)initWithStore:(RNNStore*)store;
  9. -(void)push:(UIViewController*)newTop onTop:(NSString*)containerId completion:(RNNTransitionCompletionBlock)completion;
  10. -(void)pop:(NSString*)containerId withAnimationData:(NSDictionary*)animationData;
  11. -(void)popTo:(NSString*)containerId;
  12. -(void)popToRoot:(NSString*)containerId;
  13. @end