Use HexColor in Swift as a color


Add it in your class  extension UIColor {    convenience init(red: Int, green: Int, blue: Int) {        assert(red >= 0 && red <= 255, "Invalid red component")        assert(green >= 0 && green <= 255, "Invalid green component")        assert(blue >= 0 && blue <= 255, "Invalid blue... Continue Reading →

Advertisements

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: