viewcontroller 协议优化

This commit is contained in:
zu
2021-09-18 16:04:50 +08:00
parent fbf42959fb
commit 8f2ff59f4a
3 changed files with 29 additions and 25 deletions

View File

@@ -6,32 +6,14 @@
//
#import <Foundation/Foundation.h>
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@protocol BaseMvpProtocol <NSObject>
@protocol BaseMvpProtocol <NSObject, BaseViewControllerProtocol>
- (void)tokenInvalid;
- (void)completeUserInfo;
/**
成功 toast
*/
- (void)showSuccessToast:(NSString *)msg;
/**
失败 toast
*/
- (void)showErrorToast:(NSString *)msg;
/**
加载 loading
*/
- (void)showLoading;
/**
隐藏 XCHUDTool
*/
- (void)hideHUD;
@end