Closed pearlpdx closed 7 years ago
Fixed with the following change to your code:
(void)setCurrentColor:(UIColor*)color { // float h = 0.0; // float s = 0.0; // float b = 1.0; // float a = 1.0;
CGFloat h = 0.0; CGFloat s = 0.0; CGFloat b = 1.0; CGFloat a = 1.0;
I don't quite understand, the float/CGFloat issue prevented you from using setCurrentColor?
I have not been able to update this project in a while, when I get some time I would love to.
Justin
It was just an xCode version issue. It gave me a warning. You should try it with current release it make an exciting color wheel.
All else is just great.
Thanks
Gordon Pearlman Gordon@pearlmanoffice.com
On Feb 28, 2016, at 10:47 AM, Justin Meiners notifications@github.com wrote:
I don't quite understand, the float/CGFloat issue prevented you from using setCurrentColor?
I have not been able to update this project in a while, when I get some time I would love to.
— Reply to this email directly or view it on GitHub.
Is there an easy way to set the pick point (current color)
colorWheel.setCurrentColor(UIColor.greenColor()) //I am working is swift This give me a very artistic color wheel.