dduan/Just
Swift HTTP for Humans
Xcode
Add https://github.com/dduan/Just.git the usual way.
Swift Package Manager
Add the following to your dependencies:
.package(url: "https://github.com/dduan/Just.git", from: "0.8.0")… and "Just" to your target dependencies.
Carthage
Include the following in your Cartfile:
github "dduan/Just"
Just includes dynamic framework targets for both iOS and OS X.
CocoaPods
The usual way:
platform :ios, '8.0' use_frameworks!
target 'MyApp' do pod 'Just' end
Manual
Drop Just.xcodeproj into your project navigator. Under the General tab of your project settings, use the plus sign to add Just.framework to Linked Framework and Libraries. Make sure to include the correct version for your target's platform.
It's also common to add Just as a git submodule to your projects repository:
cd path/to/your/project git submodule add https://github.com/dduan/Just.git
Source File
Put Just.swift directly into your project. Alternately, put it in the Sources folder of a playground. (The latter makes a fun way to explore the web.)
[Carthage]: https://github.com/Carthage/Carthage "Carthage"
Contribute
Pull requests are welcome. Here are some tips for code contributors:
Work in Just.xcworkspace.
The tests for link headers relies on Github APIs, which has a low per-hour limit. To overcome this, you can edit the Xcode build schemes and add [environment variables][XcodeEnvVar] GITHUB_TOKEN. Learn more about personal tokens [here][GithubToken].
For Xcode rebels, checkout Makefile.
HTML documentation pages are generated by literate programmin tool [docco]
[docco]: http://jashkenas.github.io/docco/ "docco" [GithubToken]: https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications [XcodeEnvVar]: http://nshipster.com/launch-arguments-and-environment-variables/
License
MIT, see LICENSE.md.
Package Metadata
Repository: dduan/Just
Stars: 1403
Forks: 131
Open issues: 30
Default branch: master
Primary language: swift
License: MIT
Topics: http, requests, swift
README: README.md
Archived: yes