Fixed: Changed CPColor parameter type from string to CPString

Parameter type in CPColor was string, changed here to CPString, to make it more inline with other string parameter types.
This commit is contained in:
daniel committed 2019-03-28 14:29:50 -07:00
1 parent ec24977d4e
commit 06498672ab
1 file changed
+1 -1
+1 -1
View File
@@ -267,7 +267,7 @@ var cachedBlackColor,
@return an initialized RGB color
*/
+ (CPColor)colorWithHexString:(string)hex
+ (CPColor)colorWithHexString:(CPString)hex
{
var rgba = hexToRGB(hex);
return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null;