Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RSully/RSColorPicker
iOS color picker view with brightness control, opacity control, and delegation support.
https://github.com/RSully/RSColorPicker
Last synced: about 1 month ago
JSON representation
iOS color picker view with brightness control, opacity control, and delegation support.
- Host: GitHub
- URL: https://github.com/RSully/RSColorPicker
- Owner: RSully
- License: other
- Created: 2011-08-12T18:24:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T20:27:00.000Z (about 5 years ago)
- Last Synced: 2024-10-16T00:02:52.729Z (about 2 months ago)
- Language: Objective-C
- Homepage:
- Size: 4.27 MB
- Stars: 302
- Watchers: 21
- Forks: 77
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - RSColorPicker - iOS color picker view with brightness control, opacity control, and delegation support. (etc)
- awesome - RSColorPicker - iOS color picker view with brightness control, opacity control, and delegation support. (etc)
README
# Project:
[![Build Status](https://travis-ci.org/RSully/RSColorPicker.png?branch=master)](https://travis-ci.org/RSully/RSColorPicker)
iOS color picker that is resolution independent.
Inspired by [ANColorPicker](https://github.com/unixpickle/ANColorPicker).
Also uses [ANImageBitmapRep](https://github.com/unixpickle/ANImageBitmapRep) for easy pixel-level manipulation.And of course, thanks to [Wikipedia](http://en.wikipedia.org/wiki/HSL_and_HSV).
## 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](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](https://github.com/RSully/RSColorPicker)
***
## Contributing
Pull requests are welcome for bug fixes or feature additions. If you contribute code, make sure you stick to the [contibution guidelines](CONTRIBUTING.md).