react-native-navigation的迁移库

RCCViewController.h 993B

123456789101112131415161718192021222324
  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)setNavBarVisibilityChange:(BOOL)animated;
  13. @end
  14. @protocol RCCViewControllerDelegate <NSObject>
  15. -(void)setStyleOnAppearForViewController:(UIViewController*)viewController;
  16. @end