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.
Here is the current Swift compatibility breakdown:
Swift Version | Swish Version |
---|---|
5.X | >= 4.0.0 |
4.X | >= 3.0.0 |
3.X | > 2.0, < 3.0 |
2.X | 1.X |
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.
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.
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.