react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 1002B

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. - (RNNNavigationOptions *)resolveOptions;
  10. - (RNNNavigationOptions *)resolveChildOptions:(UIViewController *) child;
  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<RNNRootViewCreator> creator;
  19. @end