2 "name": "TGSAFNetworking",
4 "summary": "A NetWorking is TGSAFNetworking.",
8 "description": "一个基于 AF的网络请求,自己的库,\n1.post 网络请求<TGSAFNetworking>\n#import <TGSAFN.h>\nTGSAFN 调用类方法\n类似:\n[TGSAFN postWithUrl:@\"www.baidu.com\" parameters:nil success:^(id responseObject) {\n//请求成功...\nUIAlertController *AVC = [UIAlertController alertControllerWithTitle:@\"SUCCESS\" message:@\"成功了\" preferredStyle: UIAlertControllerStyleAlert];\n[AVC addAction:[UIAlertAction actionWithTitle:@\"取消\" style: UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {\n\n}]];\n//网络连接失败...\n[self presentViewController:AVC animated:YES completion:nil];\n} fail:^{\nUIAlertController *AVC = [UIAlertController alertControllerWithTitle:@\"NO NETWORK\" message:@\" 失败了\" preferredStyle: UIAlertControllerStyleAlert];\n[AVC addAction:[UIAlertAction actionWithTitle:@\"取消\" style: UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {\n\n}]];\n[self presentViewController:AVC animated:YES completion:nil];\n}];",
9 "homepage": "https://github.com/ZTKevin/TGSAFNetworking",
15 "ZTKevin": "773098249@qq.com"
18 "git": "https://github.com/ZTKevin/TGSAFNetworking.git",
21 "source_files": "TGSAFNetworking/*.{h,m}",
22 "exclude_files": "Classes/Exclude",