- 授权协议: 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
Flask Web开发:基于Python的Web应用开发实战
[美] Miguel Grinberg / 安道 / 人民邮电出版社 / 2014-12 / 59.00元
本书不仅适合初级Web开发人员学习阅读,更是Python程序员用来学习高级Web开发技术的优秀参考书。 • 学习Flask应用的基本结构,编写示例应用; • 使用必备的组件,包括模板、数据库、Web表单和电子邮件支持; • 使用包和模块构建可伸缩的大型应用; • 实现用户认证、角色和个人资料; • 在博客网站中重用模板、分页显示列表以及使用富文本; • 使用基于......一起来看看 《Flask Web开发:基于Python的Web应用开发实战》 这本书的介绍吧!
