Files
yinmeng-ios/xplan-ios/Base/UI/BaseViewController.h
2021-09-14 15:43:18 +08:00

59 lines
644 B
Objective-C

//
// BaseViewController.h
// xplan-ios
//
// Created by zu on 2021/8/31.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface BaseViewController : UIViewController
/**
显示/隐藏导航
*/
- (void)hideNavigationBar;
/**
隐藏导航栏
*/
- (void)showNavigationBar;
/**
显示/隐藏状态栏
*/
- (void)showStatusBar;
/**
隐藏状态栏
*/
- (void)hideStatusBar;
/**
成功 toast
*/
- (void)showSuccessToast:(NSString *)msg;
/**
失败 toast
*/
- (void)showErrorToast:(NSString *)msg;
/**
加载 loading
*/
- (void)showLoading;
/**
隐藏 XCHUDTool
*/
- (void)hideHUD;
@end
NS_ASSUME_NONNULL_END