react-native-navigation的迁移库

RNNStore.h 686B

12345678910111213141516171819202122232425
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNRootViewController.h"
  4. typedef void (^RNNTransitionCompletionBlock)(void);
  5. @interface RNNStore : NSObject
  6. -(UIViewController*) findComponentForId:(NSString*)componentId;
  7. -(void) setComponent:(UIViewController*)viewController componentId:(NSString*)componentId;
  8. -(void) removeComponent:(NSString*)componentId;
  9. -(void) removeComponentByViewControllerInstance:(UIViewController*)componentInstance;
  10. -(NSString*)componentKeyForInstance:(UIViewController*)instance;
  11. -(void) setReadyToReceiveCommands:(BOOL)isReady;
  12. -(BOOL) isReadyToReceiveCommands;
  13. -(NSMutableArray*) pendingModalIdsToDismiss;
  14. -(void) clean;
  15. @end