文件名称:适用于Swift开发人员的令人愉悦的控制台输出。-Swift开发
文件大小:47KB
文件格式:ZIP
更新时间:2024-06-15 21:27:25
Swift Miscellaneous
Rainbow为Swift中的控制台和命令行输出添加了文本颜色,背景颜色和样式。 它是为在苹果平台和Linux上运行的终端中的跨平台软件登录而生的。 用法Nifty Rainbow为Swift中的控制台和命令行输出添加了文本颜色,背景颜色和样式。 它是为在苹果平台和Linux上运行的终端中的跨平台软件登录而生的。 用法使用String扩展名的巧妙方法,并打印彩色字符串:import Rainbow print(“红色文本” .red)print(“蓝色背景” .onBlue)print(“白色背景上的浅绿色文本” .lightGreen.onWhite) print(“ Underline” .underline)print(“青色加粗并闪烁” .cyan.bold.blin
【文件预览】:
Rainbow-master
----LinuxMain.swift(119B)
----.github()
--------workflows()
----RainbowSwift.podspec(1KB)
----LICENSE(1KB)
----Sources()
--------Style.swift(1KB)
--------String+Rainbow.swift(17KB)
--------OutputTarget.swift(2KB)
--------Color.swift(3KB)
--------CodesParser.swift(4KB)
--------ColorApproximation.swift(2KB)
--------ModesExtractor.swift(3KB)
--------ControlCode.swift(1KB)
--------StringGenerator.swift(2KB)
--------BackgroundColor.swift(3KB)
--------Rainbow.swift(5KB)
----Support()
--------Info.plist(894B)
----fastlane()
--------Scanfile(273B)
--------Fastfile(901B)
--------actions()
----Package.swift(378B)
----Rainbow.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(39KB)
--------xcshareddata()
----Gemfile(70B)
----.bundle()
--------config(21B)
----Gemfile.lock(7KB)
----.ruby-version(6B)
----.gitignore(2KB)
----Tests()
--------RainbowTests()
--------Info.plist(737B)
----README.md(7KB)