react-native-navigation的迁移库

RNNUIBarButtonItem.h 625B

1234567891011121314151617181920
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTRootView.h>
  3. #import <React/RCTRootViewDelegate.h>
  4. #import "RNNReactComponentRegistry.h"
  5. @interface RNNUIBarButtonItem : UIBarButtonItem <RCTRootViewDelegate>
  6. @property (nonatomic, strong) NSString* buttonId;
  7. -(instancetype)init:(NSString*)buttonId withIcon:(UIImage*)iconImage;
  8. -(instancetype)init:(NSString*)buttonId withTitle:(NSString*)title;
  9. -(instancetype)init:(NSString*)buttonId withCustomView:(RCTRootView *)reactView;
  10. -(instancetype)init:(NSString*)buttonId withSystemItem:(NSString*)systemItemName;
  11. - (void)notifyDidAppear;
  12. - (void)notifyDidDisappear;
  13. @end