文件名称:易于将基于代码的样式指南应用于情节提要。-Swift开发
文件大小:40KB
文件格式:ZIP
更新时间:2024-06-15 22:58:25
Swift Miscellaneous
Nori Nori使用源代码设计情节提要的视图。 用法标签定义将StyleableLabel扩展为@IBDesignable的自定义类。 并实现func internalStyle()-> LabelStyle。 Nori Nori使用源代码设计情节提要的视图。 用法标签定义将StyleableLabel扩展为@IBDesignable的自定义类。 并实现func internalStyle()-> LabelStyle。 导入Nori @IBDesignable类LargeLabel:StyleableLabel {覆盖func nativeStyle()-> LabelStyle {返回LabelStyle {$ 0.textColor = Color.black.color $ 0.font = UIFont.systemFont(ofSize:FontSize.large.point)}}}按钮是个
【文件预览】:
Nori-master
----.gitignore(1KB)
----Sources()
--------CustomViews()
--------Styles()
--------UIKit()
--------Operators.swift(299B)
----Nori.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(40KB)
----LICENSE(1KB)
----NoriTests()
--------ShadowStyleTests.swift(1KB)
--------TextFieldStyleTests.swift(1KB)
--------BorderStyleTests.swift(853B)
--------Info.plist(682B)
--------LabelStyleTests.swift(2KB)
--------SwitchStyleTests.swift(763B)
--------ImageViewStyleTests.swift(728B)
--------ViewStyleTests.swift(1KB)
----.swift-version(4B)
----Nori.podspec(413B)
----README.md(1KB)
----Nori()
--------Nori.h(456B)
--------Info.plist(755B)
----NoriExample()
--------ViewController.swift(360B)
--------Info.plist(1KB)
--------Components()
--------Base.lproj()
--------AppDelegate.swift(2KB)
--------Assets.xcassets()