Swiftpack.co - ky1vstar/URLEncodedFormKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ky1vstar.
ky1vstar/URLEncodedFormKit 1.0.2
Parse and serialize url-encoded form data with Codable support
⭐️ 1
🕓 3 years ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/ky1vstar/URLEncodedFormKit.git", from: "1.0.2")

URLEncodedFormKit

Platforms CocoaPods compatible Carthage compatible SPM compatible

Apple CI Linux CI Windows CI

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.

License

Vapor's project MIT License

GitHub

link
Stars: 1
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Fix: URLEncodedFormDecoder ignores empty value when decoding Array
3 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics