DLColorPicker is both, a loose collection of UIControls…
DLCPHexPicker
DLCPHuePicker
DLCPBrightnessPicker
DLCPAlphaPicker
DLCPSaturationBrightnessPicker
DLCPHueSaturationPicker
…and a pair of pre-configured UIViewControllers:
DLCPGradientColorPickerController
(as seen on the left in the preview)DLCPWaterfallColorPickerController
(as seen on the right in the preview)
While the picker controls work best when used with one of the above UIViewControllers,
each control can be used on its very own. Don't want a hex picker?
No problem: Just don't add it to your view then. Same for alpha, etc.
- Six picker controls to choose from.
- Two picker controllers to choose from.
- Uses
CAGradientLayer
for drawing - No image resources, no slow custom drawing.
- Animates on color change.
- Custom layout (frames, sizes, positions, etc)
- Custom appearance (borders, shadows, etc.)
Just copy the files in "DLColorPicker/Classes/..."
into your project.
(I don't use CocoaPod myself, but am very open for pull requests for a pod!)
DLColorPicker contains a demo app giving you a quick overview of both included controllers.
DLColorPicker uses automatic reference counting (ARC).
None.
Vincent Esche (@regexident)
DLColorPicker is available under a modified BSD-3 clause license with the additional requirement of attribution. See the LICENSE
file for more info.