No description, website, or topics provided.
Clone or download
mdmsua and paulofaria Maintenance update (#16)
* Update to Swift 3.0.2, upgrade dependencies, use linter

* Fix typo, update OSX image to Xcode 8.2, lint in Travis script

* Do not lint in travis script

* Do not setup Swift environment, fix tests in Linux

* Install Swift only on Linux

* Move environment script to travis

* Fix assertion for Linux

* Bring travis notifications back
Latest commit ea79b89 Jan 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources Maintenance update (#16) Jan 22, 2017
Tests Maintenance update (#16) Jan 22, 2017
.gitignore Add CURIParser Mar 16, 2016
.swift-version Maintenance update (#16) Jan 22, 2017
.swiftlint.yml Maintenance update (#16) Jan 22, 2017
.travis.yml Maintenance update (#16) Jan 22, 2017
LICENSE it starts Nov 27, 2015
Package.swift Maintenance update (#16) Jan 22, 2017
README.md Update README.md Jun 3, 2016

README.md

URI

Swift Zewo Platform License Slack Travis Codebeat

URI (RFC 3986) for Swift 3.0.

Usage

let uri = URI(string: "abc://username:password@example.com:123/path/data?key=value#fragid1")

uri.scheme // "abc"
uri.userInfo?.username // "username"
uri.userInfo?.password // "password"
uri.host // "example.com"
uri.port // 123
uri.path // "/path/data"
uri.query["key"] // "value"
uri.fragment // "fragid1"

let uri = URI(path: "/api/v1/tasks", query: ["done": ["true"]])

uri.path // "/api/v1/tasks"
uri.query["done"] // ["true"]

Package

  • Add URI to your Package.swift
import PackageDescription

let package = Package(
	dependencies: [
		.Package(url: "https://github.com/Zewo/URI.git", majorVersion: 0, minor: 8),
	]
)

Support

If you need any help you can join our Slack and go to the #help channel. Or you can create a Github issue in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.

Community

Slack

The entire Zewo code base is licensed under MIT. By contributing to Zewo you are contributing to an open and engaged community of brilliant Swift programmers. Join us on Slack to get to know us!

License

This project is released under the MIT license. See LICENSE for details.