测试测试 | ✓ |
Lang语言 | SwiftSwift |
许可证 | MIT |
释放上次发布 | 2016年5月 |
SPM支持SPM | ✗ |
由Huan Jiang负责维护。
依赖 | |
Alamofire | >= 0 |
EVReflection | >= 0 |
AlamofireJsonToObjects | >= 0 |
要运行示例项目,请克隆仓库,然后首先从Example目录运行pod install
JHHttpClient可以通过CocoaPods获取。要安装它,只需将以下行添加到您的Podfile中
pod "JHHttpClient"
请将条目添加到项目的info.plist中,启用App Transport Security设置中的http://
JHHttpClient.invoke(self.api.text!) { (response, error) in
print(response)
if let jsonResult = response as? Dictionary<String, AnyObject> {
print(jsonResult)
print("-----")
print(jsonResult.description)
let str = jsonResult.description
self.response.text = str
}
}
jianghuan, [email protected]
JHHttpClient受MIT许可证的保护。有关更多信息,请参阅LICENSE文件。