JHColorPicker is a color picker that includes swatches from Crayola, Pantone, and ChameleonFramework flat colors, as well as a custom color picker
This color picker is a combination of the following pods:
InfinitApps/InfColorPicker https://github.com/InfinitApps/InfColorPicker
ViccAlexander/Chameleon https://github.com/ViccAlexander/Chameleon
mihaelamj/uicolor-crayola https://github.com/mihaelamj/uicolor-crayola
mihaelamj/uicolor-pantone https://github.com/mihaelamj/uicolor-pantone
To run the example project, clone the repo, and run pod install
from the Example directory first.
let colorPickerController = JHColorPickerController()
colorPickerController.delegate = self
colorPickerController.previousColor = self.view.backgroundColor
colorPickerController.completion = { selectedColor in
self.view.backgroundColor = selectedColor
}
self.presentViewController(UINavigationController(rootViewController: colorPickerController), animated: true, completion: nil)
iOS 8+, XCode 7+
(Included via pod dependency):
- ChameleonFramework
- ColorUtils
- UIColor-Crayola
- UIColor-Pantone
JHColorPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "JHColorPicker"
JHays, orbosphere@gmail.com
JHColorPicker is available under the MIT license. See the LICENSE file for more info.