Latest 1.1.0
Homepage https://github.com/Cyberbeni/QueryItemEncoder
License MIT
Platforms ios 10.0
Authors

Installing

Add pod 'QueryItemEncoder' to your podfile

Usage

var urlBuilder = URLComponents(string: "http://example.com")
let encoder = QueryItemEncoder()
urlBuilder.queyItems = encoder.encode(encodableObject)
var request = URLRequest(url: urlBuilder.url)
...

Latest podspec

{
    "name": "QueryItemEncoder",
    "version": "1.1.0",
    "summary": "Converts Encodable types into [URLQueryItem]",
    "homepage": "https://github.com/Cyberbeni/QueryItemEncoder",
    "description": "Converts Encodable types into [URLQueryItem], allowing developers to switch between json and url form encoding with very little changes.",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Benedek Kozma": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/Cyberbeni/QueryItemEncoder.git",
        "tag": "1.1.0"
    },
    "source_files": "QueryItemEncoder/**/*.{swift}",
    "swift_version": "4.1",
    "static_framework": true
}

Pin It on Pinterest

Share This