react-native-navigation的迁移库

RNNRootViewCreator.h 524B

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