react-native-navigation的迁移库

RNNCommandsHandler.h 610B

12345678910111213141516171819202122232425262728
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNControllerFactory.h"
  4. #import "RNNStore.h"
  5. @interface RNNCommandsHandler : NSObject
  6. -(instancetype) initWithStore:(RNNStore*)store controllerFactory:(RNNControllerFactory*)controllerFactory;
  7. -(void) setRoot:(NSDictionary*)layout;
  8. -(void) push:(NSString*)containerId layout:(NSDictionary*)layout;
  9. -(void) pop:(NSString*)containerId;
  10. -(void) popTo:(NSString*)containerId;
  11. -(void) popToRoot:(NSString*)containerId;
  12. -(void) showModal:(NSDictionary*)layout;
  13. -(void) dismissModal:(NSString*)containerId;
  14. -(void) dismissAllModals;
  15. @end