Skip to content

A custom color picker for iOS that also includes swatches from Crayola, Pantone, and Chameleon Flat colors

License

Notifications You must be signed in to change notification settings

jhays/JHColorPicker

Repository files navigation

JHColorPicker

Version License Platform

JHColorPicker is a color picker that includes swatches from Crayola, Pantone, and ChameleonFramework flat colors, as well as a custom color picker

Screenshot

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

Usage

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)

Requirements

iOS 8+, XCode 7+

(Included via pod dependency):

  • ChameleonFramework
  • ColorUtils
  • UIColor-Crayola
  • UIColor-Pantone

Installation

JHColorPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JHColorPicker"

Author

JHays, orbosphere@gmail.com

License

JHColorPicker is available under the MIT license. See the LICENSE file for more info.

About

A custom color picker for iOS that also includes swatches from Crayola, Pantone, and Chameleon Flat colors

Resources

License

Stars

Watchers

Forks

Packages

No packages published