URLEncodedFormKit
This library includes both encoder and decoder for application/x-www-form-urlencoded
data. Source codes are owned by Vapor. I just decided to redistribute it as separate library and provide package managers and CI support.
Installation
CocoaPods
URLEncodedFormKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'URLEncodedFormKit'
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
To integrate URLEncodedFormKit into your Xcode project using Carthage, specify it in your Cartfile
:
github "ky1vstar/URLEncodedFormKit"
Run carthage update
to build the framework and drag the built URLEncodedFormKit.framework
into your Xcode project.
On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase” and add the Framework path as mentioned in Carthage Getting started Step 4, 5 and 6
Swift Package Manager
To integrate using Apple's Swift Package Manager, add the following as a dependency to your Package.swift
:
dependencies: [
.package(url: "https://github.com/ky1vstar/URLEncodedFormKit.git", from: "1.0.0")
]
Alternatively navigate to your Xcode project, select Swift Packages
and click the +
icon to search for URLEncodedFormKit
.
Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate URLEncodedFormKit into your project manually. Simply drag the Sources
Folder into your Xcode project.