react-native-navigation的迁移库

RNNComponentViewCreator.h 565B

12345678910111213141516
  1. #import <UIKit/UIKit.h>
  2. #import "RNNComponentOptions.h"
  3. #import "RNNReactView.h"
  4. @protocol RNNComponentViewCreator
  5. - (RNNReactView*)createRootView:(NSString*)name rootViewId:(NSString*)rootViewId availableSize:(CGSize)availableSize reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  6. - (UIView*)createRootViewFromComponentOptions:(RNNComponentOptions*)componentOptions;
  7. - (UIView*)createRootViewFromComponentOptions:(RNNComponentOptions*)componentOptions reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  8. @end