- 授权协议: MIT
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/146BC/StyleKit
- 软件文档: https://github.com/146BC/StyleKit/blob/develop/README.md
- 官方下载: https://github.com/146BC/StyleKit/archive/develop.zip
软件介绍
StyleKit 是能让你使用一个简单的 JSON 文件美化你的应用的微框架。
它如何工作?
按如下格式创建一个 JSON 文件:
{
"UILabel": {
"font": "HelveticaNeue-Bold:30.0",
"backgroundColor": "#000FFF"
},
"StyleKitDemo.SKView": {
"StyleKitDemo.SKLabel": {
"font": "HelveticaNeue-Bold:20.0",
"backgroundColor": "#FFF000",
"color": "#fff"
},
"StyleKitDemo.SKButton": {
"font": "HelveticaNeue-Light:20.0",
"titleColor:normal": "#FFFFFF",
"titleColor:highlighted": "#000000"
}
},
"StyleKitDemo.SKNavigationBar": {
"titleTextAttributes": {
"NSColor": "#000FFF",
"NSFont": "HelveticaNeue-Bold:30.0"
}
},
"StyleKitDemo.SKTextField": {
"font": "HelveticaNeue-Light:20.0",
"textColor": "#000FFF"
}
}加载 JSON 文件
func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
if let styleFile = NSBundle.mainBundle().URLForResource("style", withExtension: "json") {
StyleKit(fileUrl: styleFile)?.apply()
}
return true
}安装:
Carthage
github "146BC/StyleKit" ~> 0.3
CocoaPods
Add the 146BC Source
source 'https://github.com/146BC/Specs.git' source 'https://github.com/CocoaPods/Specs.git'
pod 'StyleKit', '~> 0.3
计算机程序设计艺术:第4卷 第4册(双语版)
Donald E.Knuth / 苏运霖 / 机械工业出版社 / 2007-4 / 42.00元
关于算法分析的这多卷论著已经长期被公认为经典计算机科学的定义性描述。迄今已出版的完整的三卷组成了程序设计理论和实践的惟一的珍贵源泉,无数读者都赞扬Knuth的著作对个人的深远影响。科学家们为他的分析的美丽和优雅所惊叹,而从事实践的程序员们已经成功地应用他的“菜谱式”的解到日常问题上,所有人都由于Knuth在书中所表现出的博学、清晰、精确和高度幽默而对他无比敬仰。 为开始后续各卷的写作并更......一起来看看 《计算机程序设计艺术:第4卷 第4册(双语版)》 这本书的介绍吧!
