Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jawngee/ILColorPicker

Color picker controls for iOS
https://github.com/jawngee/ILColorPicker

Last synced: 3 months ago
JSON representation

Color picker controls for iOS

Awesome Lists containing this project

README

        

Color Picker for iOS
====================

[![](http://s3.amazonaws.com/cocoa_controls_production/ios_screens/342/full.jpg?1314944655)](http://s3.amazonaws.com/cocoa_controls_production/ios_screens/342/full.jpg?1314944655)

Source includes two controls that work in unison with each other
to provide users the ability to pick color in a fashion identical
to photoshop.

Designed not to use images or any other external dependencies
beyond the classes.

ILSaturationBrightnessPicker
----------------------------
This control presents a saturation and brightness gradient for
a specific hue, similar to photoshop's color picker.

ILHuePicker
-----------
This control presents a horizontal gradient that displays the
entire range of hues. Typically, user would pick a hue, which
updates an ILSaturationBrightnessPicker so that they can then
pick the saturation and brightness.

UIColor+GetHSB
--------------
This category will allow you to access the HSB values of a UIColor
easily.

ILView
------
This is the base view that implements some stuff to make writing
custom views a little easier.

Usage
=====

See the enclosed example project. It's pretty straight forward.

License
=======
Public domain, use as you wish.