A collection of UIControls for picking colors on iPhone, iPad, and other iOS devices. Gradient slider, Hue slider, RGB sliders, HSB sliders, CMYK sliders, ImagePixelPicker, HSB Wheel, HSB Spectrum. Color related class extensions
Update these methods to throw instead of returning optionals
// Class function
public class func pixelBufferOf(image: UIImage) -> CVPixelBuffer?
public class func pixelBufferPropertiesOf(image: UIImage) -> (pixelBuffer: CVPixelBuffer?, size:CGSize, bytesPerRow: Int)
public class func pixelColorOf(image: UIImage, at point: CGPoint) -> UIColor?
// Instance methods
public func pixelColorAt(point: CGPoint) -> UIColor? {
public func pixelBufferProperties() -> (pixelBuffer: CVPixelBuffer?, size:CGSize, bytesPerRow: Int)
Update these methods to throw instead of returning optionals