- 授权协议: Apache
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/daltoniam/SwiftHTTP
- 软件文档: https://github.com/daltoniam/SwiftHTTP
软件介绍
SwiftHTTP 简单封装了 Swift 语言中的 NSURLSession ,简化了 HTTP 请求操作。
示例代码:
var request = HTTPTask() request.GET("http://www.oschina.net/", parameters: nil, success: {(response: AnyObject?) -> Void in if response { let data = response as NSData let str = NSString(data: data, encoding: NSUTF8StringEncoding) println("response: \(str)") //prints the HTML of the page } },failure: {(error: NSError) -> Void in println("error: \(error)") })
How to Build a Billion Dollar App
George Berkowski / Little, Brown Book Group / 2015-4-1 / USD 24.95
Apps have changed the way we communicate, shop, play, interact and travel and their phenomenal popularity has presented possibly the biggest business opportunity in history. In How to Build a Billi......一起来看看 《How to Build a Billion Dollar App》 这本书的介绍吧!