Awesome
Project:
iOS color picker that is resolution independent.
Inspired by ANColorPicker. Also uses ANImageBitmapRep for easy pixel-level manipulation.
And of course, thanks to Wikipedia.
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
Usage:
See included example project (TestColorViewController
).
Requirements:
- Accelerate.framework
- QuartzCore.framework
- CoreGraphics.framework
- UIKit.framework
- Foundation.framework
- ANImageBitmapRep (included)
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
<img alt="Color Picker - Default" src="./Example01.png" width="320"> <img alt="Color Picker - Loupe" src="./Example02.png" width="320"> <img alt="Color Picker - Opacity" src="./Example03.png" width="320"> <img alt="Color Picker - Circle" src="./Example04.png" width="320"> <img alt="Color Picker - Resize" src="./Example05.png" width="320">
Contributing
Pull requests are welcome for bug fixes or feature additions. If you contribute code, make sure you stick to the contibution guidelines.