LYNetwork is a high level request util based on Alamofire.
- Support common base URL and CDN URL
- Validate JSON response
- Support
closure
anddelegate
callback for request - Batch requests (see
LYBatchRequest
) - Chain requests (see
LYChainRequest
) - URL filter, replace part of URL, or append common parameter
- Response can be cached by expiration time
- Response can be cached by version number
- Support Upload and download task
- Support Authentication
pod 'LYNetwork'
If you prefer not to use any of the aforementioned dependency managers, you can integrate LYNetwork into your project manually.
LYNetwork Version | Alamofire Version | Swift Version | Minimum iOS Target | Note |
---|---|---|---|---|
0.x | 4.3.x & below | swift 3.0 | iOS 8 | Xcode 8+ is required. |
LYNetwork is based on Alamofire. You can find more detail about version compability at Alamofire.
Thanks for their great work.
YTKNetwork is available under the MIT license. See the LICENSE file for more info.