//
//  SDTool.h
//  HomeHealth
//
//  Created by newuser on 17/1/4.
//  Copyright © 2017年 ChiJian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface SDTool : NSObject

+(instancetype)instance;

+ (void)showHUDWithText:(NSString *)text;

+ (void)showHUDCustomSucceesWithText:(NSString *)text;

+ (void)showHUDWithText:(NSString *)text callback:(void(^)(void))callback;

+ (void)showHUDWithTextAndNotNoMessage:(NSString *)text;

//菊花 
+(void)showLoadingOnView:(UIView *)view;

//主要是为了解决在找不到vc.view的时候方便使用
+(void)showLoadingOnWindowCustomFrame:(CGRect)frame;

+(void)showLoadingOnWindow;

+(void)hideLoading;

//本地打电话
+ (void)callPhone:(NSString *)phoneNum;

//判断网络状态
+ (BOOL)isExistenceNetwork;

//设置状态栏颜色
//+ (void)setStatusBarBackgroundColor:(UIColor *)color;
@end
