写这个的目的是方便写demo!如果你的代码里面用的是类似的封装方法,那是比较low的方法。 个人建议使用 oc: 唐巧团队的YTK swift: Moya
To run the example project, clone the repo, and run pod install from the Example directory first.
CFNetworkingHelper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CFNetworkingHelper'[email protected], [email protected]
CFNetworkingHelper is available under the MIT license. See the LICENSE file for more info.