YHDeveloperTools
iOS项目开发常用功能静态库
功能方法:
1.字符检查
[NSString checkStringWithType:Email andTargetString:@"1311" resultBlock:^(BOOL result, NSString *message) {
NSLog(@"result =%@ message = %@",result?@"验证成功!":@"验证失败!",message);
}];
2.自定义系统弹出窗
[UIAlertController showTipsAlertWithTitle:@"虎哥" subTitle:@"就是帅" cAction:nil hasCancel:YES addTarget:self];
3.网络请求
使用方法
1.下载代码
image.png
2.引入工程,xcode9以上版本注意勾选target选项
image.png
3.修改target ->bulid settings ->other linker flag ->添加-ObjC
image.png
4.引入头文件YHDeveloperTools.h
image.png