XBLoadingView.h 929 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//
//  XBLoadingView.h
//  Lighting
//
//  Created by 曹云霄 on 2016/12/1.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface XBLoadingView : MBProgressHUD


/**
 显示普通加载框
 */
+ (void)showHUDViewWithDefault;

19 20 21 22 23
/**
 显示普通加载框
 */
+ (void)showHUDViewWithDefaultWithView:(UIView *)view;

24 25 26 27 28 29 30
/**
 显示文本提示框

 @param text 提示信息
 */
+ (void)showHUDViewWithText:(NSString *)text;

31 32 33 34 35
/**
 显示成功提示框

 @param text 提示信息
 */
36
+ (void)showHUDViewWithSuccessText:(NSString *)text completeBlock:(void(^)())finish;
37 38 39 40 41 42 43 44

/**
 显示进度框

 @param text 提示信息

 @return XBLoadingView
 */
曹云霄's avatar
曹云霄 committed
45
+ (XBLoadingView *)showHUDViewProgressLabel:(NSString *)text;
46 47 48 49 50 51

/**
 隐藏加载框
 */
+ (void)hideHUDViewWithDefault;

52 53 54 55
/**
 隐藏加载框
 */
+ (void)hideHUDViewWithDefaultWithView:(UIView *)view;
56 57 58 59



@end