Skip to content

richieshilton/UIColour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

UIColor/Color for English speakers

Resources

License

Stars

Watchers

Forks

Languages