STNetwork 1.0.6× TestsTested ✗ LangLanguage Obj-CObjective C License MIT ReleasedLast Release Aug 2017Maintained by ‘himi’.Installation Guide×Installation Guide for STNetworkYou want to add pod 'STNetwork', '~> 1.0' similar to the following to your Podfile:target 'MyApp' do pod 'STNetwork', '~> 1.0' endThen run a pod install inside your terminal, or from CocoaPods.app.Alternatively to give it a test run, run the command:pod try STNetworkSee PodspecGitHub RepoPage on CocoaPods.orgSTNetwork 1.0.6Byqianghaivy/STNetworkGitHub Repo 对afnetwork的进一步封装,实现了对请求的统一处理。可以取消单个vc的所有请求。 安装 pod 'STNetwork', '~> 1.0.5' 使用方法 自己新建一个请求request类,继承STBaseRequest。request类里面定义一个枚举,来表示所有的请求。可以通过枚举来设置请求的url。 如果返回的是字符串或者需要对返回的数据做统一处理, 可以再自己的request类型里面重写resultStr或resultObjc的set方法。