UIColor
-
Parse a hex string for its
ARGBcomponents and return aUIColorinstanceDeclaration
Swift
public static func colorFromHexString(_ colorString: String) -> UIColorParameters
colorStringA string representing the color hex to be parsed
Return Value
A UIColor instance containing the parsed color
UIColor Extension Reference