ColorSenseRainbow icon indicating copy to clipboard operation
ColorSenseRainbow copied to clipboard

UIColor.init not working

Open SjoerdPerfors opened this issue 9 years ago • 1 comments

Not working: static let white_darker = UIColor.init(red: 0.912, green: 0.917, blue: 0.917, alpha: 1.0)

Working: static let white_darker = UIColor(red: 0.912, green: 0.917, blue: 0.917, alpha: 1.0)

SjoerdPerfors avatar Jan 21 '16 14:01 SjoerdPerfors

Hi,

I've just put up a new release on the main branch and I've added support for the (UI|NS)Color.init. If you would like to try it out and let me know how it is working I'd appreciate it. I reworked all of the regular expressions so that they be easier to maintain and added this in while I made that change.

Reid.

NorthernRealities avatar Jun 12 '16 02:06 NorthernRealities