UIBadgeView icon indicating copy to clipboard operation
UIBadgeView copied to clipboard

Missing HEXCOLOR() macro

Open smtlaissezfaire opened this issue 13 years ago • 1 comments

Compile time error: no HEXCOLOR() macro is present in project

See the following:

https://gist.github.com/1237f30a62329819d3cf

smtlaissezfaire avatar Apr 27 '11 18:04 smtlaissezfaire

just try the macro below #define HEXCOLOR(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

dcty avatar May 17 '11 08:05 dcty