sailorook / Alamofire-SwiftyJSON

Alamofire extension for serialize NSData to SwiftyJSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Alamofire-SwiftyJSON

Easy way to use both Alamofire and SwiftyJSON

Requirements

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

Install

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'Alamofire-SwiftyJSON'

Usage

Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"])
         .responseSwiftyJSON({ (request, response, json, error) in
                     println(json)
                     println(error)
                  })

About

Alamofire extension for serialize NSData to SwiftyJSON

License:MIT License


Languages

Language:Swift 74.6%Language:Ruby 13.4%Language:Objective-C 12.0%