react-native-navigation的迁移库

12345678910111213141516
  1. #import <React/RCTRootView.h>
  2. #import <React/RCTRootViewDelegate.h>
  3. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  4. @interface RNNReactView : RCTRootView <RCTRootViewDelegate>
  5. - (instancetype)initWithBridge:(RCTBridge *)bridge moduleName:(NSString *)moduleName initialProperties:(NSDictionary *)initialProperties availableSize:(CGSize)availableSize reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock;
  6. @property (nonatomic, copy) void (^rootViewDidChangeIntrinsicSize)(CGSize intrinsicSize);
  7. @property (nonatomic, copy) RNNReactViewReadyCompletionBlock reactViewReadyBlock;
  8. - (void)setAlignment:(NSString *)alignment;
  9. @end