Skip to content

orakaro/APIKitExt

Repository files navigation

APIKitExt

Build Status Version Language

Extensions for famous type-safe networking library APIKit, provides easy binding with various JSON serialization libraries such as ObjectMapper, Argo, Himotoki and also Reactive Extension for RxSwift 🎉

Requirement

  • Swift 3.0
  • iOS 8.0 or later
  • Mac OS 10.10 or later
  • watchOS 2.0 or later
  • tvOS 9.0 or later

Installation

APIKitExt is available through CocoaPods. Depend on which Json serialization library that you want to use with APIKit, you can add to your Podfile as below:

# APIKit + ObjectMapper
pod "APIKitExt/ObjectMapper"
# APIKit + Argo
pod "APIKitExt/Argo"
# APIKit + Himotoki
pod "APIKitExt/Himotoki"
# APIKit + SwiftyJSON
pod "APIKitExt/SwiftyJSON"
# APIKit + ModelMapper
pod "APIKitExt/ModelMapper"
# APIKit + JASON
pod "APIKitExt/JASON"
# APIKit + Unbox
pod "APIKitExt/Unbox"

Usage

Below are detailed explanations for each combination of APIKit and JSON serialization library. You can also check demo apps in Example folder.

The demo app for APIKit + APIKitExt + Himotoki + RxSwift is following MVVM architecture with reactive unit test included. Check it out and have fun!

License

APIKitExt is available under the MIT license. See the LICENSE file for more info.