react-native-navigation的迁移库

12345678910111213141516171819202122232425
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import <React/RCTConvert.h>
  4. @class RNNOptions;
  5. @protocol RNNOptionsProtocol <NSObject>
  6. @optional
  7. - (void)resetOptions;
  8. - (void)applyOn:(UIViewController *)viewController;
  9. @end
  10. @interface RNNOptions : NSObject <RNNOptionsProtocol>
  11. - (instancetype)initWithDict:(NSDictionary*)dict;
  12. - (void)mergeWith:(NSDictionary*)otherOptions;
  13. - (void)applyOn:(UIViewController *)viewController defaultOptions:(RNNOptions*)defaultOptions;
  14. - (BOOL)hasProperty:(NSString*)propName;
  15. - (void)mergeOptions:(RNNOptions *)otherOptions;
  16. - (void)mergeOptions:(RNNOptions *)otherOptions overrideOptions:(BOOL)override;
  17. @end