123456789101112131415161718192021222324 |
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import <React/RCTConvert.h>
-
- @class RNNOptions;
-
- @protocol RNNOptionsProtocol <NSObject>
-
- @optional
- - (void)resetOptions;
- - (void)applyOn:(UIViewController *)viewController;
-
- @end
-
- @interface RNNOptions : NSObject <RNNOptionsProtocol>
-
- - (instancetype)initWithDict:(NSDictionary*)dict;
- - (void)mergeWith:(NSDictionary*)otherOptions;
- - (void)mergeIfEmptyWith:(NSDictionary*)otherOptions;
- - (void)applyOn:(UIViewController *)viewController defaultOptions:(RNNOptions*)defaultOptions;
- - (BOOL)hasProperty:(NSString*)propName;
-
- @end
|