Twister
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.
Requirements
- iOS 9.0+
- Xcode 8.1
Installation
CocoaPods
You can use CocoaPods to install Twister by adding it to your Podfile:
platform :ios, '9.0'
use_frameworks!
pod 'Twister'Carthage
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"
Manually
- Add
Alamofireas dependency in your project. - Download and drop
Twister.swiftin your project. - Congratulations!
Contribute
We would love you for the contribution to Twister, check the LICENSE file for more info.
Meta
Nikhil Sharma – @devilnikks – [email protected]
Distributed under the MIT license. See LICENSE for more information.