justinmeiners / ios-color-wheel

A fully scalable, dynamically rendered color wheel for iOS.
82 stars 15 forks source link

Set pick point (set the current color) #8

Closed pearlpdx closed 7 years ago

pearlpdx commented 8 years ago

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.

pearlpdx commented 8 years ago

Fixed with the following change to your code:

justinmeiners commented 8 years ago

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.

pearlpdx commented 8 years ago

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.