//
//  MBProgressHUD+MJ.h
//
//  Created by mj on 13-4-18.
//  Copyright (c) 2013年 itcast. All rights reserved.
//

#import "MBProgressHUD/MBProgressHUD.h"

@interface MBProgressHUD (MJ)

+ (MBProgressHUD *)show;
+ (MBProgressHUD *)showWithView:(UIView *)view;
+ (MBProgressHUD *)showHUD:(NSString *)message view:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message;
+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;
+ (MBProgressHUD *)showMessage:(NSString *)message mode:(MBProgressHUDMode)mode toView:(UIView *)view;
+ (MBProgressHUD *)showMessage:(NSString *)message delayTime:(CGFloat)delayTime toView:(UIView *)view;
+ (MBProgressHUD *)showMessage:(NSString *)message delayTime:(CGFloat)delayTime mode:(MBProgressHUDMode)mode toView:(UIView *)view;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;

+ (void)showSuccess:(NSString *)success;
+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)show:(NSString *)text icon:(NSString *)icon view:(UIView *)view;
+ (void)showLoading:(NSString *)message;
+ (void)showLoading:(NSString *)message toView:(UIView *)view;

@end
