AlertViewTool.h 835 Bytes
//
//  AlertViewTool.h
//  CNLiveScioLive
//
//  Created by CNLive-zxw on 2018/9/20.
//  Copyright © 2018年 CNLive. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^PopBlock)(void);

@interface AlertViewTool : NSObject
+ (void)showHUDAddedToView:(UIView *)view duration:(NSInteger)duration;
+ (void)showHUDAddedToView:(UIView *)view text:(NSString *)text duration:(NSInteger)duration;
+ (void)showHUDAddedToView:(UIView *)view text:(NSString *)text;
+ (void)showHUDAddedToView:(UIView *)view text:(NSString *)text block:(PopBlock)block;

+ (void)showHUDViewText:(NSString *)text;
+ (void)showHUDViewText:(NSString *)text block:(PopBlock)block;
+ (void)showHUDViewText:(NSString *)text block:(PopBlock)block duration:(NSInteger)duration;
+ (void)showHUDView;
+ (void)hideHUDView;

@end