BaseViewController.h 860 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // BaseViewController.h
  3. // TheoryNetwork
  4. //
  5. // Created by tederen on 2019/9/20.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface BaseViewController : UIViewController
  11. /// 下方工具类高度
  12. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *customNavigationHeight;
  13. /// 没有数据提示
  14. @property (strong, nonatomic) UILabel *noDataMessageLbl;
  15. - (void)addNoDataMessageToViewCenter:(UIView *)contentView message:(NSString *)message;
  16. - (void)changeMessageStatusWithNumber:(NSInteger)number;
  17. //给外部提供一个可调用返回上一级的方法
  18. -(void)backToUpVcWithDidBackBtn;
  19. //给外部提供一个可调用打开菜单View的方法
  20. -(void)openMenuViewWithDidMenuBtn;
  21. -(IBAction)backAction:(id)sender;
  22. -(IBAction)menuAction:(id)sender;
  23. @end
  24. NS_ASSUME_NONNULL_END