react-native-navigation的迁移库

RNNRootViewProtocol.h 691B

1234567891011121314151617181920212223
  1. #import "RNNNavigationOptions.h"
  2. typedef void (^RNNReactViewReadyCompletionBlock)(void);
  3. @protocol RNNRootViewProtocol <NSObject, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate, UISplitViewControllerDelegate>
  4. @optional
  5. - (void)mergeOptions:(RNNOptions*)options;
  6. - (BOOL)isCustomViewController;
  7. - (void)performOnRotation:(void (^)(void))block;
  8. - (void)optionsUpdated;
  9. - (void)applyModalOptions;
  10. - (BOOL)isCustomTransitioned;
  11. - (RNNNavigationOptions*)options;
  12. @required
  13. - (NSString *)componentId;
  14. - (void)waitForReactViewRender:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock;
  15. - (UIViewController<RNNRootViewProtocol> *)getLeafViewController;
  16. @end