NKNetworker 0.1.6

NKNetworker 0.1.6

Maintained by Nick Kopilovskii.



NKNetworker

Version License Platform

Description

This template is designed to simplify and speed up the process of creating and processing REST API requests and responses with JSON body. Based on automatic generationof instances of types supporting Codable protocol

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 10.0

Swift 5.0

Installation

NKNetworker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'NKNetworker'

Version history

v.0.1.0

v.0.1.1

  • Fixed issue, when on requests with empty body (body = nil) Data-object (JSON) initialized as 4 bytes

v.0.1.2

  • Fixed issue with undecoded symbols in URL string

v.0.1.3

  • Fixed request/response log print
  • Removed default header Content-Type: application/json; charset=utf-8

v.0.1.4

  • Fixed issue with path parameter's separator

v.0.1.5

  • NKNRequestFetcher.errorHandler used to handle NKNStaticError in default cases

v.0.1.6

  • NKNRequestFetcher.body available custom encoding

Author

nkopilovskii, [email protected]

License

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