• This repository has been archived on 14/Nov/2017
  • Stars
    star
    600
  • Rank 72,292 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 11 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

CFIFrostedOverlayView

[Broken] A view that renders its superview with a gaussian blur.
Objective-C
204
star
2

IDEKit

A framework for creating Integrated Development Environments
Objective-C++
170
star
3

C-Macs

Digging a Foundation With A Spoon
C
130
star
4

CFAAction

Composable Core Animation Actions à la SceneKit
Objective-C
66
star
5

Compiler-Explorer

A native client for GodBolt
Swift
46
star
6

functional-swift-style-guide

Style and Conventions for Functional Swift Projects
38
star
7

Presentations

20
star
8

Agda-Metaprogramming

Dependently Typed Metaprogramming Exercises
Agda
20
star
9

Authentic-Weather

An Antagonistic weather application written for Tobias Van Schneider
Objective-C
18
star
10

KrakenKit

An (Obj)C(++) wrapper library for the Github API
C
16
star
11

APL.swift

Combinators for the real world
Swift
13
star
12

language-swift

A Parser and Pretty Printer for Swift
Haskell
9
star
13

LOLCODE.tmLanguage

LOLCODE Syntax Highlighting for Sublime Text 2 and TextMate
8
star
14

CFIDictaphonicWindow

Use Mountain Lion's dictation feature for commands
Objective-C
7
star
15

Hott-Summer

My Notes and Solutions from the CMU Hott Summer School
Agda
6
star
16

ExchangeKit

Wrangling The Stack Exchange API
Objective-C
5
star
17

PersistentStructure

Clojure's Data Structures, Ported
Objective-C
5
star
18

PhotosAnimationDemo

An attempt to recreate the cool animations when the iOS Photos app presents an email controller
Objective-C
4
star
19

ParkingLot

Futexes
Swift
3
star
20

CFIUserDefaults

Automatically synchronized defaults for Mac
C++
3
star
21

Parsimmon

A Swift Parser Combinator Library Parsecs Ahead of the Rest
Swift
3
star
22

CFIViewController

The innards of NSViewController, now with 10.3 compatability
Objective-C
2
star
23

CFISegmentedViewController

A specialized view controller that manages a radio-style selection interface
Objective-C
2
star
24

SwiftPMTestFail

Reproducer Repo for Swift-PM Build Failures
Swift
1
star
25

TyperBot

JavaScript
1
star