iTunes 11 Style Color Art Detection for iOS

iTunes 11 Style Color Art Detection for iOS

Port of ColorArt code from OS X to iOS.

Usage

#include <ColorArt/UIImage+ColorArt.h>
image = [image scaledToSize:self.fadedImageView.frame.size];
SLColorArt *colorArt = [image colorArt];
self.fadedImageView.backgroundColor     = colorArt.backgroundColor;
self.fadedImageView.image               = image;
self.view.backgroundColor               = colorArt.backgroundColor;
self.headline.textColor                 = colorArt.primaryColor;
self.subHeadline.textColor              = colorArt.secondaryColor;
self.text.textColor                     = colorArt.detailColor;

GitHub