Function should return float, but it gets messed up!
- by Andre
Hi guys,
I'm going crazy here.
I have a function that should return a float number:
- (float) getHue:(UIColor *)original
{
NSLog(@"getHue");
const CGFloat *componentColors = CGColorGetComponents(original.CGColor);
float red = componentColors[0];
float green = componentColors[1];
float blue = componentColors[2];
float h…