oscardelben / Color-Picker-Pro

Color Detection Tool for Designers and Developers
http://fructivity.com
505 stars 50 forks source link

Using [UIColor colorWithWhite:alpha:] when redComponent = greenComponent = blueComponent #19

Closed johnboiles closed 11 years ago

johnboiles commented 11 years ago

This change pastes "[UIColor colorWithWhite:%.2ff alpha:1.0f]" instead of "[UIColor colorWithRed:%.2ff green:%.2ff blue:%.2ff alpha:1.0f]" when all the color components are equal. This simplifies the paste output a bit.

oscardelben commented 11 years ago

Thank you.