NSAttributedStringBuilder:使用SwiftUI风格的语法编写NSAttributedString

时间:2021-05-13 05:46:35
【文件属性】:
文件名称:NSAttributedStringBuilder:使用SwiftUI风格的语法编写NSAttributedString
文件大小:541KB
文件格式:ZIP
更新时间:2021-05-13 05:46:35
nsattributedstring swiftui swift5-1 functionbuilder Swift NSAttributedStringBuilder 创作NSAttributedString与SwiftUI风格的语法,搭载。 项目链接: : 特征 特征 :bird: 用Swift 5.4编写的开源库 :candy: 类似SwiftUI的语法 :flexed_biceps: 支持NSAttributedString.Key大多数属性 :package: 使用Swift Package Manager发行 :test_tube: 经过全面测试的代码 :hammer_and_wrench: 持续集成到 如何使用? 传统上,我们像这样NSAttributedString : let mas = NSMutableAttributedString ( string : " " ) mas. append ( NSAttributedString ( string : " Hello world " , attributes : [. font : UIFont. systemFo
【文件预览】:
NSAttributedStringBuilder-master
----.gitignore(82B)
----Sources()
--------NSAttributedStringBuilder()
----.swiftpm()
--------xcode()
----.travis.yml(301B)
----.xcodesamplecode.plist(0B)
----.ruby-version(6B)
----LICENSE(1KB)
----CHANGELOG.md(992B)
----.github()
--------workflows()
----NSAttributedStringBuilder13.podspec(2KB)
----demo2.jpg(274KB)
----README.md(4KB)
----Package.swift(1KB)
----Tests()
--------LinuxMain.swift(152B)
--------NSAttributedStringBuilderTests()
----demo.jpg(314KB)
----SwiftUISampleApp()
--------AttributedTextSampleTests()
--------AttributedTextSample.xcodeproj()
--------AttributedTextSample()

网友评论