XBLoadingView.h 763 Bytes
Newer Older
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
//
//  XBLoadingView.h
//  Lighting
//
//  Created by 曹云霄 on 2016/12/1.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface XBLoadingView : MBProgressHUD


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

/**
 显示文本提示框

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

26 27 28 29 30
/**
 显示成功提示框

 @param text 提示信息
 */
31
+ (void)showHUDViewWithSuccessText:(NSString *)text completeBlock:(void(^)())finish;
32 33 34 35 36 37 38 39

/**
 显示进度框

 @param text 提示信息

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

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





@end