CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

RACAlamofire 0.0.6

RACAlamofire 0.0.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2015
SPMSupports SPM

Maintained by Rogerio Araujo.



 
Depends on:
Alamofire~> 1.1.0
ReactiveCocoa~> 2.0
 

Alamofire-RACExtensions

Alamofire extension with support to ReactiveCocoa signals

Features

Currently you can only subscribe to request signal

Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 6.1

Communication

  • If you need help, use Stack Overflow. (Tag 'racalamofire')
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Installation


Usage

Creating a signal for a Request

import Alamofire
import RACAlamofire

var signal:RACSignal = Alamofire.request(.GET, "http://www.google.com")
       .validate(statusCode: 200..<300)
    .rac_response()

signal.subscribeNext { (value) -> Void in
    println(value)
}