将HUD相关方法放到BaseMvpProtocol协议,所有的view都要实现BaseMvpProtocol协议

This commit is contained in:
zu
2021-09-16 17:31:58 +08:00
parent 2932fe03e3
commit 92b97c4747
7 changed files with 30 additions and 36 deletions

View File

@@ -13,6 +13,25 @@ NS_ASSUME_NONNULL_BEGIN
- (void)tokenInvalid;
- (void)completeUserInfo;
/**
成功 toast
*/
- (void)showSuccessToast:(NSString *)msg;
/**
失败 toast
*/
- (void)showErrorToast:(NSString *)msg;
/**
加载 loading
*/
- (void)showLoading;
/**
隐藏 XCHUDTool
*/
- (void)hideHUD;
@end