mirror of
https://github.com/SwiftyJSON/Alamofire-SwiftyJSON.git
synced 2026-01-12 15:34:03 +08:00
746a638bc0efb1f565368011d807db05c84f27b3
#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)
})
Languages
Swift
78.3%
Ruby
11.5%
Objective-C
10.2%