Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 2.27 KB

README.md

File metadata and controls

59 lines (42 loc) · 2.27 KB

Twister - Type Safe Network Layer

Swift Version License Carthage compatible CocoaPods Compatible
Platform PRs Welcome

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

  1. Add Alamofire as dependency in your project.
  2. Download and drop Twister.swift in your project.
  3. Congratulations!

Contribute

We would love you for the contribution to Twister, check the LICENSE file for more info.

Meta

Nikhil Sharma – @devilnikksnikksindia@gmail.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/nikksindia