- 授权协议: 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
}
}网页配色实用手册
温鑫工作室 / 科学 / 2011-9 / 59.00元
《网页配色实用手册》在日常生活中,色彩早已广泛地深入到人们的精神生活和物质生活中,它是一种能够激发情感、刺激感官的重要元素。《网页配色实用手册》 从色彩的应用范围和网页设计行业需求出发而编写。全书共分为9章,第1章~第2章主要介绍色彩的基础知识、网页与多媒体的相关知识,帮助读者掌握最基本的理论;第3章主要介绍明度、纯度以及色彩感觉的配色,引领读者深入学习;第4章~第8章分别根据网站的属性、网站的地......一起来看看 《网页配色实用手册》 这本书的介绍吧!
