react-native-navigation的迁移库

RCCViewController.h 1014B

12345678910111213141516171819202122232425
  1. #import <UIKit/UIKit.h>
  2. #import "RCTBridge.h"
  3. extern NSString* const RCCViewControllerCancelReactTouchesNotification;
  4. @interface RCCViewController : UIViewController
  5. @property (nonatomic) NSMutableDictionary *navigatorStyle;
  6. @property (nonatomic) BOOL navBarHidden;
  7. + (UIViewController*)controllerWithLayout:(NSDictionary *)layout globalProps:(NSDictionary *)globalProps bridge:(RCTBridge *)bridge;
  8. - (instancetype)initWithProps:(NSDictionary *)props children:(NSArray *)children globalProps:(NSDictionary *)globalProps bridge:(RCTBridge *)bridge;
  9. - (instancetype)initWithComponent:(NSString *)component passProps:(NSDictionary *)passProps navigatorStyle:(NSDictionary*)navigatorStyle globalProps:(NSDictionary *)globalProps bridge:(RCTBridge *)bridge;
  10. - (void)setStyleOnAppear;
  11. - (void)setStyleOnInit;
  12. - (void)updateStyle;
  13. - (void)setNavBarVisibilityChange:(BOOL)animated;
  14. @end
  15. @protocol RCCViewControllerDelegate <NSObject>
  16. -(void)setStyleOnAppearForViewController:(UIViewController*)viewController;
  17. @end