Skip to content

Color Picker for Grouped Colors Like a Material Design Palette.

License

Notifications You must be signed in to change notification settings

tnantoka/GroupedColorPicker

Repository files navigation

GroupedColorPicker

CI Status Version License Platform

Installation

pod 'GroupedColorPicker'

Usage

let pickerController = GroupedColorPickerViewController()
pickerController.didSelect = { [weak self] color, hexString in
    self?.view.backgroundColor = color
    self?.title = hexString
    self?.dismiss(animated: true, completion: nil)
}
pickerController.didClose = { [weak self] in
    self?.dismiss(animated: true, completion: nil)
}
let navController = UINavigationController(rootViewController: pickerController)
present(navController, animated: true, completion: nil)

Acknowledgements

Author

@tnantoka

License

MIT

About

Color Picker for Grouped Colors Like a Material Design Palette.

Resources

License

Stars

Watchers

Forks

Packages