将HUD相关方法放到BaseMvpProtocol协议,所有的view都要实现BaseMvpProtocol协议
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user