react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 992B

12345678910111213141516171819202122232425262728293031
  1. #import <UIKit/UIKit.h>
  2. #import "RNNEventEmitter.h"
  3. #import "RNNLayoutProtocol.h"
  4. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  5. @interface UIViewController (LayoutProtocol) <RNNLayoutProtocol>
  6. - (void)renderTreeAndWait:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  7. - (UIViewController *)getCurrentChild;
  8. - (void)mergeOptions:(RNNNavigationOptions *)options;
  9. - (void)mergeChildOptions:(RNNNavigationOptions *)options;
  10. - (RNNNavigationOptions *)resolveOptions;
  11. - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  12. - (void)overrideOptions:(RNNNavigationOptions *)options;
  13. @property (nonatomic, retain) RNNBasePresenter* presenter;
  14. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  15. @property (nonatomic, strong) RNNNavigationOptions* options;
  16. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  17. @property (nonatomic, strong) RNNEventEmitter* eventEmitter;
  18. @property (nonatomic) id<RNNComponentViewCreator> creator;
  19. @end