react-native-navigation的迁移库

RNNReactComponentRegistry.h 639B

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