UIColor
-
Create an UIColor object based on a hex string
Declaration
Swift
convenience init(hexString: String)Parameters
hexStringa hex string describing a color
-
Method that returns an UIColor in a hex string
Declaration
Swift
func toHexString() -> StringReturn Value
UIColor hex String
View on GitHub
UIColor Extension Reference