- 授权协议: 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
Discrete Mathematics and Its Applications
Kenneth H Rosen / McGraw-Hill Science/Engineering/Math / 2003-04-22 / USD 132.81
Discrete Mathematics and its Applications is a focused introduction to the primary themes in a discrete mathematics course, as introduced through extensive applications, expansive discussion, and deta......一起来看看 《Discrete Mathematics and Its Applications》 这本书的介绍吧!
