AFNetworking-RACExtensions 0.1.8

AFNetworking-RACExtensions 0.1.8

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2015

Maintained by Tony Arnold, Robert Widmann, Nelson.

Depends on:
AFNetworking~> 2.5.3
ReactiveCocoa~> 2.0

  • By
  • Robert Widmann

AFNetworking+RACExtensions is a delightful extension to the AFNetworking networking library for iOS and Mac OS X. It's built on top of ReactiveCocoa, AFNetworking, extending the powerful high-level networking abstractions built into AFNetorking by lifting them into the Reactive world. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.

Getting Started

Request signals work in much the same way you would expect them to. Any request that is subscribed to is automatically enqueued and the results, be they errors or JSON, are sent back to you the subscriber. For example

AFHTTPRequestOperationManager *manager = [[AFHTTPRequestOperationManager alloc]
manager.requestSerializer = [AFJSONRequestSerializer serializer];
manager.responseSerializer = [AFJSONResponseSerializer serializer];

[[manager rac_GET:path parameters:params] subscribeNext:^(RACTuple *JSONAndHeaders) {
    //Voila, a tuple with (JSON, HTTPResponse)


AFNetworking 1.0 and higher requires either iOS 5.0 and above, or Mac OS 10.8 (64-bit with modern Cocoa runtime) and above.


Robert Widmann


AFNetworking+RACExtensions is available free of change under the Open Source license, along with the MIT license that AFNetworking uses. Use it at your own risk.