forked from kingsic/SGQRCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMBProgressHUD+SGQRCode.h
32 lines (24 loc) · 1.31 KB
/
MBProgressHUD+SGQRCode.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// MBProgressHUD+SGQRCode.h
// MBProgressHUD+SGQRCode
//
// Created by kingsic on 2015/7/13.
// Copyright © 2015年 kingsic. All rights reserved.
//
#import "MBProgressHUD.h"
@interface MBProgressHUD (SGQRCode)
/** MBProgressHUD修改后的样式 添加到self.navigationController.view上,导航栏不能被点击 */
+ (MBProgressHUD *)SG_showMBProgressHUDWithModifyStyleMessage:(NSString *)message toView:(UIView *)view;
/** MBProgressHUD系统自带样式 添加到self.navigationController.view上,导航栏不能被点击 */
+ (MBProgressHUD *)SG_showMBProgressHUDWithSystemComesStyleMessage:(NSString *)message toView:(UIView *)view;
/** 10s之后隐藏 */
+ (MBProgressHUD *)SG_showMBProgressHUD10sHideWithModifyStyleMessage:(NSString *)message toView:(UIView *)view;
/** 显示加载成功的 MBProgressHUD */
+ (void)SG_showMBProgressHUDOfSuccessMessage:(NSString *)message toView:(UIView *)view;
/** 显示加载失败的 MBProgressHUD */
+ (void)SG_showMBProgressHUDOfErrorMessage:(NSString *)message toView:(UIView *)view;
/** 隐藏MBProgressHUD 要与添加的view保持一致 */
+ (void)SG_hideHUDForView:(UIView *)view;
/** 只显示文字的 15 号字体(文字最好不要超过 14 个汉字) MBProgressHUD */
+ (void)SG_showMBProgressHUDWithOnlyMessage:(NSString *)message delayTime:(CGFloat)time;
@end