GithubHelp home page GithubHelp logo

runt18 / afnetworking-racextensions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codafi/afnetworking-racextensions

0.0 1.0 0.0 1.38 MB

A delightful extension to the AFNetworking classes for iOS and Mac OS X.

License: MIT License

Ruby 3.62% Objective-C 96.38%

afnetworking-racextensions's Introduction

##Announcement

Because I can no longer maintain this framework at the standards the open source community expects of me, and those I expect of myself, I have placed a feature freeze on this fork and will stop maintenance. If support for future RAC's and AFNetworking's is needed, please fork this repository and update the podspecs as needed.

##AFNetworking-RACExtensions

Build Status

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]
initWithBaseURL:url];
manager.requestSerializer = [AFJSONRequestSerializer serializer];
manager.responseSerializer = [AFJSONResponseSerializer serializer];

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

##Requirements

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.

##Contact

Robert Widmann
@CodaFi_

##License

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.

afnetworking-racextensions's People

Contributors

caiguo37 avatar chiahsien avatar codafi avatar glyuck avatar kastiglione avatar lexrus avatar peterstuart avatar rayshih avatar yarry avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.