react-native-navigation的迁移库

RNNNavigationStackManager.h 652B

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<RNNRootViewProtocol>*)newTop onTop:(NSString*)componentId completion:(RNNTransitionCompletionBlock)completion;
  10. -(void)pop:(NSString*)componentId withTransitionOptions:(RNNAnimationOptions*)transitionOptions;
  11. -(void)popTo:(NSString*)componentId;
  12. -(void)popToRoot:(NSString*)componentId;
  13. @end