Ugh...what a pain. Sorry about that! That's what I get for assuming a basic UIColor method would also be available on OS X long ago.

> On Apr 11, 2014, at 8:08 AM, Robert Böhnke <notifications@github.com> wrote:
> 
> In RBBAnimation/RBBLinearInterpolation.m:
> 
> >  
> > -    if (strcmp(from.objCType, @encode(CGSize)) == 0) {
> > -        return RBBInterpolateCGSize(SIZE_VALUE(from), SIZE_VALUE(to));
> > -    }
> > +    CGFloat deltaHue = toHue - fromHue;
> > +    CGFloat deltaSaturation = toSaturation - fromSaturation;
> > +    CGFloat deltaBrightness = toBrightness - fromBrightness;
> > +    CGFloat deltaAlpha = toAlpha - fromAlpha;
> > +
> > +    return ^(CGFloat fraction) {
> > +        CGFloat hue = fromHue + fraction * deltaHue;
> > +        CGFloat saturation = fromSaturation + fraction * deltaSaturation;
> > +        CGFloat brightness = fromBrightness + fraction * deltaBrightness;
> > +        CGFloat alpha = fromAlpha + fraction * deltaAlpha;
> > +
> > +        CGColorRef colorRef = [RBBColor colorWithHue:hue saturation:saturation brightness:brightness alpha:alpha].CGColor;
> +[NSColor colorWithHue:saturation:brightness:alpha:] only exists from 10.9 onwards…
> 
> —
> Reply to this email directly or view it on GitHub.