How can I create a UIColor from a hex string in swift?
222.0/255.0 , blue : 222.0/255.0 , alpha: 1.0). its also easy. but you have HEX code, there isn't any method to get color from HEX. here make one extension for UIColor to get color from HEX code.
extension of UIColor
How can I create a UIColor from a hex string in swift? Reviewed by Kirit Modi on 23:56:00 Rating: