Closed jainpiyushb closed 9 years ago
Getting this assertion failure Assertion failed: (7 == hexString.length || 4 == hexString.length), function +[UIColor(HexColorAddition) colorWithHexString:alpha:], < ..... >
I have given a color as Red with designated initializer.
Any idea why ?
Sorry, this problem is because of a Category used on UIColor. Didn't spot it in the first place.
Thanks. I wish objective-c would compile error on category collisions...
Getting this assertion failure Assertion failed: (7 == hexString.length || 4 == hexString.length), function +[UIColor(HexColorAddition) colorWithHexString:alpha:], < ..... >
I have given a color as Red with designated initializer.
Any idea why ?