CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

GroupedColorPicker 0.3.6

GroupedColorPicker 0.3.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2020
SPMSupports SPM

Maintained by tnantoka.



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