react-native-navigation的迁移库

RNNReactComponentRegistry.h 532B

123456789101112131415161718
  1. #import <Foundation/Foundation.h>
  2. #import "RNNReactView.h"
  3. #import "RNNComponentOptions.h"
  4. #import "RNNStore.h"
  5. #import "RNNRootViewCreator.h"
  6. @interface RNNReactComponentRegistry : NSObject
  7. - (instancetype)initWithCreator:(id<RNNRootViewCreator>)creator;
  8. - (RNNReactView *)createComponentIfNotExists:(RNNComponentOptions *)component parentComponentId:(NSString *)parentComponentId reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  9. - (void)removeComponent:(NSString *)componentId;
  10. - (void)clean;
  11. @end