react-native-navigation的迁移库

RNNReactComponentRegistry.h 727B

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