YTKNetwork
YTKNetwork copied to clipboard
YTKNetwork is a high level request util based on AFNetworking.
子类重写的baseUrl方法返回值变化时,缓存未失效。 场景:测试环境和生产环境切换
现况:app升级之后,所有缓存失效。 增加:由使用方控制字段,忽略app相同版本检查。
### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read...
### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read...
### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist * [X] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [X] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork)...
### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist * [x] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [x] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork)...
BOOL result = [request statusCodeValidator]; - (BOOL)statusCodeValidator { NSInteger statusCode = [self responseStatusCode]; return (statusCode >= 200 && statusCode
### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [...