//
//  JobUtil.h
//  Open
//
//  Created by 看看智能 on 2018/1/12.
//  Copyright © 2018年 黄江涛 . All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JobUtil : NSObject
+(JobUtil *)userShareInstance;





//判断是否为空
-(NSString*)netStrNull:(UITextField *)textfied;

//判断是否是数字;
-(BOOL)isNumberYes:(NSString *)str;
//判断是否为空二
-(NSString *)netStrssssNull:(NSString *)str;

//判断是否是正确的身份证
//   if(  [IDCardNumber_Validate isValidateIDCardString:newStr] == NO)   return   [SVProgressHUD showErrorWithStatus:@"身份证不正确请检查"];

//将生日转为20172012 格式
+(NSInteger)onlyNumber:(NSString*)str;

//将生日转为2017年12日12日
+(NSString *)onlyBirthDai:(NSString *)asd;



//与户主关系

+(NSInteger)chooseEmployeeFamilyRelation:(NSArray *)arr andSelectedString:(NSString *)selectStr;

+(void)logicRun:(UITextField *)textField;


+(NSString *)netStrNull_2:(NSString *)textfied;

//将多个字符,隔开的 -> 1,2,3,4
+(NSString*)chooseMoreEmployee:(NSArray *)arr andSelectedString:(NSString *)selectStr;

+(NSString*)chooseEmployeeFamilyRelation_2:(NSArray *)arr andSelectedString:(NSString *)selectStr;


//将,的字符串转化为数组
+(NSArray *)arrayDOUHAOstring:(NSString *)str;


//判断是否是数字
+(BOOL)isNumberBackYes:(NSString *)str;

//电话号码正则表达式
+ (BOOL)validateCellPhoneNumber:(NSString *)cellNum;

//照片旋转
+ (UIImage *)imagehuangzhuan:(UIImage *)image rotation:(UIImageOrientation)orientation;

//将正常image转换为git动图
+(UIImage*)changeImageToGit:(NSString*)str;

@end
