viewcontroller 协议优化
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user