react-native-navigation的迁移库

1234567891011121314151617181920212223
  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. @end