目录
目录README.md

UIColour

platforms Swift Package Manager compatible

This is a Swift version of UIColor written in English. Now compatible with SwiftUI and Color.

Usage

Here's an example
Use just like UIColor ...
    let myColour: UIColour = .red
    view.backgroundColor = UIColour.blue
Or in SwiftUI...
    let myColour: Colour = .red
    ... sometime later ...
    Text("Hello, colour!")
        .foregroundColor(myColour)

Requirements

  • Xcode
  • Swift

For Xcode 10.1 and below, use this package just like you would with Xcode 10.2 and above.

Uninstallation

Please don’t actually use this.

关于
49.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号