XiaoDuan / RSColorPicker

iOS color picker view with brightness control, opacity control, and delegation support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class Files:

RSColorPickerView

Square (circle) color-picker that handles touch events, allows for brightness control, and allows for opacity control. Uses delegation to report color selection as-changed

RSBrightnessSlider, RSOpacitySlider

Basic UISlider subclass that can be used easily with RSColorPickerView.

Project:

Inspired by ANColorPicker. Also uses ANImageBitmapRep for easy pixel-level manipulation.

And of course, thanks to Wikipedia.

Usage:

See included example project (TestColorViewController).

Requirements:

  • Accelerate.framework
  • QuartzCore.framework
  • CoreGraphics.framework
  • UIKit.framework
  • Foundation.framework
  • ANImageBitmapRep (Included)

License

This is licensed under the BSD license (see License.md). You know the drill, use at your own risk, this code is given without support, etc. And for good karma link back to this github.com page, github.com/rsully/rscolorpicker


Color Picker - Default

Color Picker - Loupe popup

Color Picker - Brightness

Color Picker - Opacity

Color Picker - Square

Color Picker - External selection

About

iOS color picker view with brightness control, opacity control, and delegation support.

License:Other