Twister makes it easy to write a type safe network layer for any API. What it only needs is a model expected as API response, to confirm 'Codable(Encodable&Decodable)' protocol.
- iOS 9.0+
- Xcode 8.1
You can use CocoaPods to install Twister
by adding it to your Podfile
:
platform :ios, '9.0'
use_frameworks!
pod 'Twister'
Create a Cartfile
that lists the framework and run carthage update
. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/Twister.framework
to an iOS project.
github "nikksindia/Twister"
- Add
Alamofire
as dependency in your project. - Download and drop
Twister.swift
in your project. - Congratulations!
We would love you for the contribution to Twister, check the LICENSE
file for more info.
Nikhil Sharma – @devilnikks – nikksindia@gmail.com
Distributed under the MIT license. See LICENSE
for more information.