Latest 0.0.1
Homepage https://github.com/ZakariyyaSv/LYNetwork
License MIT
Platforms ios 8.0, osx 10.10, requires ARC
Dependencies Alamofire
Authors

LYNetwork

build status
License MIT
Pod version
Platform

LYNetwork is a high level request util based on Alamofire.

Features

  • [x] Support common base URL and CDN URL
  • [x] Validate JSON response
  • [x] Support closure and delegate callback for request
  • [x] Batch requests (see LYBatchRequest)
  • [x] Chain requests (see LYChainRequest)
  • [x] URL filter, replace part of URL, or append common parameter¬†
  • [x] Response can be cached by expiration time
  • [x] Response can be cached by version number
  • [ ] Support Upload and download task
  • [ ] Support Authentication

Installation

Cocoapods

    pod 'LYNetwork'

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate LYNetwork into your project manually.

Usage

Requirements

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.

Acknowledgements

License

YTKNetwork is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LYNetwork",
    "version": "0.0.1",
    "summary": "A high level request util based on Alamofire.",
    "homepage": "https://github.com/ZakariyyaSv/LYNetwork",
    "license": "MIT",
    "authors": {
        "ZakariyyaSv": "http://zakariyyasv.pub"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "source": {
        "git": "https://github.com/ZakariyyaSv/LYNetwork.git",
        "tag": "0.0.1"
    },
    "source_files": "LYNetwork/Source/*.{swift}",
    "requires_arc": true,
    "dependencies": {
        "Alamofire": [
            "~> 4.4.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This