react-native-navigation的迁移库

UIViewController+LayoutProtocol.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839
  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)render;
  7. - (UIViewController *)getCurrentChild;
  8. - (UIViewController *)presentedComponentViewController;
  9. - (void)mergeOptions:(RNNNavigationOptions *)options;
  10. - (void)mergeChildOptions:(RNNNavigationOptions *)options;
  11. - (RNNNavigationOptions *)resolveOptions;
  12. - (RNNNavigationOptions *)resolveOptionsWithDefault;
  13. - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions;
  14. - (void)overrideOptions:(RNNNavigationOptions *)options;
  15. - (void)readyForPresentation;
  16. @property (nonatomic, retain) RNNBasePresenter* presenter;
  17. @property (nonatomic, retain) RNNLayoutInfo* layoutInfo;
  18. @property (nonatomic, strong) RNNNavigationOptions* options;
  19. @property (nonatomic, strong) RNNNavigationOptions* defaultOptions;
  20. @property (nonatomic, strong) RNNEventEmitter* eventEmitter;
  21. @property (nonatomic) id<RNNComponentViewCreator> creator;
  22. @property (nonatomic) RNNReactViewReadyCompletionBlock reactViewReadyCallback;
  23. @property (nonatomic) BOOL waitForRender;
  24. @end