react-native-navigation的迁移库

RNNTestRootViewCreator.m 371B

123456789101112
  1. #import "RNNTestRootViewCreator.h"
  2. @implementation RNNTestRootViewCreator
  3. - (RNNReactView *)createRootView:(NSString *)name rootViewId:(NSString *)rootViewId ofType:(RNNComponentType)componentType reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock {
  4. UIView *view = [[UIView alloc] init];
  5. view.tag = [rootViewId intValue];
  6. return view;
  7. }
  8. @end