Alamofire是AFNetworking的swift版本,功能灰常强大。...github:https://github.com/Alamofire/Alamofire
SwiftyJSON是操作json的非常棒的开源库
github:https://github.com/SwiftyJSON...target 'AlamofireDemo' do
pod 'Alamofire', '~> 3.4'
pod 'SwiftyJSON', :git => 'https://github.com...接下来就可以用它Alamofire请求网络使用swiftyJson解析Json
let currRequest = Alamofire.request(.POST, "http://www.yourweb.com...", parameters: ["para1":"aaa",
"para2":[0,1,2,3],
"para3":NSNull()],