//
//  BaseViewController.h
//  唔即云相册
//
//  Created by 余衡武 on 2021/12/8.
//

#import <UIKit/UIKit.h>
#import "HWToolBar.h"
#import "HWSearchBar.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController

// 导航栏
@property (nonatomic,strong) HWSearchBar *navigationBar;
// 底部工具条
@property (nonatomic,strong) HWToolBar   *toolBar;

@property (nonatomic,assign)BOOL        canTouch;
@property (nonatomic,assign)BOOL        canBack;
@property (nonatomic,assign)BOOL        needSowWattingViewStr;
@property(nonatomic ,strong)UIView      *wattingViewForHaveStr;

@property(nonatomic ,strong)UIView      *navBarBGView;
@property(nonatomic ,strong)UIButton    *backBtn;
@property(nonatomic ,strong)UILabel     *titleLabel;

- (void)backBtnPressed;

/**loading*/
-(void)showNewIndicatorWithCanBack:(BOOL)canBack canTouch:(BOOL)canTouch;
-(void)removeNewIndicator;
/**loading ➕ 文字*/
-(void)showNewIndicatorHaveStrWithCanBack:(BOOL)canBack canTouch:(BOOL)canTouch showText:(NSString *)text;
-(void)removeNewIndicatorHaveStr;

@end

NS_ASSUME_NONNULL_END
