react-native-navigation的迁移库

RNNCommandsHandler.h 759B

1234567891011121314151617181920212223242526272829303132
  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) setOptions:(NSString*)containerId options:(NSDictionary*)options;
  9. -(void) push:(NSString*)containerId layout:(NSDictionary*)layout;
  10. -(void) pop:(NSString*)containerId;
  11. -(void) popTo:(NSString*)containerId;
  12. -(void) popToRoot:(NSString*)containerId;
  13. -(void) showModal:(NSDictionary*)layout;
  14. -(void) dismissModal:(NSString*)containerId;
  15. -(void) dismissAllModals;
  16. -(void) switchToTab:(NSString*)containerId tabIndex:(NSNumber*)tabIndex;
  17. @end