react-native-navigation的迁移库

RNNReactComponentRegistry.h 578B

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