Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

cuzv/CHXNetworkingWrapper

Repository files navigation

What it is?

CHXNetworkingWrapper is an AFNetworking wrapper. The swift version checkout here.

The 1.x version support AFNetworking 2.x version only.

The 2.x version support AFNetworking 3.x version only.

Feature

  • Done asynchronously
  • Cache Request
  • Support RESTful API
  • Low coupling degree

Requirements

  • iOS 7.0+ / Mac OS X 10.9+
  • Xcode 6.3

Installation

You can install CHXNetworkingWrapper using CocoaPods

Getting started

  • Subclass CHXRequest.
  • Conforms CHXRequestable, CHXResponseable.
  • Inject command by CHXRequest's property.
  • Call start method start a request, call cancel to stop the request.
  • Process response by completion handlers.
  • Checkout sample code for more info.

Refrence

License

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

About

CHXNetworkingWrapper is an AFNetworking wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published