- 授权协议: MIT
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/raulriera/HuntingKit
软件介绍
HuntingKit 是 Product Hunt API 封装器。
使用示例:
开始之前,先让你的 app 取得授权证书。
let authenticationRequest = ProductHunt.Endpoint.ClientToken(id: "your-clientId", secret: "your-clientSecret")
ProductHunt.sendRequest(authenticationRequest) { response in
switch response {
case .Success(let box):
// At this point HuntingKit has stored the credentials in your keychain, you are free to use any other endpoint available. You also have access to the `AccessToken` yourself.
case .Failure(let box):
// Handle your errors
}
}得到权限后,就可以获取今天的所有产品。
let request = ProductHunt.Endpoint.Posts(from: .Today)
ProductHunt.sendRequest(request) { [unowned self] response in
switch response {
case .Success(let box):
// By now you have the array of Posts (products) available to you
case .Failure(let box):
// Handle your errors
}
}Computational Geometry
Mark de Berg、Otfried Cheong、Marc van Kreveld、Mark Overmars / Springer / 2008-4-16 / USD 49.95
This well-accepted introduction to computational geometry is a textbook for high-level undergraduate and low-level graduate courses. The focus is on algorithms and hence the book is well suited for st......一起来看看 《Computational Geometry》 这本书的介绍吧!
