36 lines
1015 B
Objective-C
36 lines
1015 B
Objective-C
//
|
|
// GIGAMBHUDHelper.h
|
|
// GIGA
|
|
//
|
|
// Created by lianxiang on 2018/9/4.
|
|
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "MBProgressHUD.h"
|
|
|
|
@interface GIGAMBHUDHelper : NSObject
|
|
/**
|
|
* Paramas is hud, notic MBProgress message.
|
|
*/
|
|
+ (void)networkError:(MBProgressHUD *)hud;
|
|
+ (void)networkError:(MBProgressHUD *)hud
|
|
title:(NSString *)aTitle;
|
|
+ (void)networkSucc:(MBProgressHUD *)hud
|
|
title:(NSString *)aTitle;
|
|
+ (void)networkInfo:(MBProgressHUD *)hud
|
|
title:(NSString *)aTitle;
|
|
/**
|
|
* Paramas is view, notic MBProgress message in view.
|
|
*/
|
|
+ (void)networkErrorAddto:(UIView *)aView;
|
|
+ (void)networkErrorAddto:(UIView *)aView
|
|
title:(NSString *)aTitle;
|
|
+ (void)networkSuccAddto:(UIView *)aView
|
|
title:(NSString *)aTitle;
|
|
+ (void)networkInfoAddto:(UIView *)aView
|
|
title:(NSString *)aTitle;
|
|
+ (void)messageAddto:(UIView *)aView title:(NSString *)aTitle;
|
|
|
|
@end
|