Nothing but Net(working)
Swift Objective-C Shell Ruby Vim script
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Carthage/Checkouts
Documentation Update documentation for master branch. Mar 9, 2018
Source [Refactor] The enumeration object according to Swift 3 is a lower cas… Mar 2, 2018
Swish.xcodeproj Remove Argo in favour of JSONDecoder Jan 30, 2018
Swish.xcworkspace Update documentation for master branch. Mar 9, 2018
Swish Bump version to 2.0.3 Jun 5, 2017
SwishExamples.playground Update documentation for master branch. Mar 9, 2018
Tests Use an inline struct instead of fileprivate Jan 30, 2018
bin Update Apple TV simulator name when running tests Jan 30, 2018
.gitattributes Initial Commit Sep 1, 2015
.gitignore
.gitmodules Remove Argo in favour of JSONDecoder Jan 30, 2018
.swift-version Update minimum swift version to 4 Jan 30, 2018
.vimrc
Cartfile Remove Argo in favour of JSONDecoder Jan 30, 2018
Cartfile.private Update minimum swift version to 4 Jan 30, 2018
Cartfile.resolved
LICENSE Add basic README Nov 6, 2015
README.md
Swish.podspec Bump pod version to 3.0.0 Apr 17, 2018
circle.yml

README.md

Swish Carthage compatible CocoaPods Compatible

Nothing but net(working).

Swish is a networking library that is particularly meant for requesting and decoding JSON via Decodable. It is protocol based, and so aims to be easy to test and customize.

Version Compatibility

Here is the current Swift compatibility breakdown:

Swift Version Swish Version
4.X >= 3.0.0
3.X > 2.0, < 3.0
2.X 1.X

Installation

Carthage

Add the following to your Cartfile:

github "thoughtbot/Swish"

Then run carthage update.

Follow the current instructions in Carthage's README for up to date installation instructions.

CocoaPods

Add the following to your Podfile:

pod 'Swish'

You will also need to make sure you're opting into using frameworks:

use_frameworks!

Then run pod install with CocoaPods 0.36 or newer.

Git Submodules

I guess you could do it this way if that's your thing.

Add this repo as a submodule, and add the Swish project file along with the dependency project files to your workspace. You can then link against Swish.framework along with the dependency frameworks for your application target.

Usage

Basic Playground

You can see an example of Swish in action via the included SwishExamples.playground.

To use that, clone this repository and run carthage bootstrap --platform iOS. When that finishes, open the Swish.xcworkspace and click the SwishExamples playground on the left.

Documentation

License

Swish is Copyright (c) 2016 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

thoughtbot

Swish is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects or look at our product case studies and hire us to help build your iOS app.