https://github.com/gazolla/colorpickercontroller
ColorPickerController written in Swift 3
https://github.com/gazolla/colorpickercontroller
Last synced: 2 months ago
JSON representation
ColorPickerController written in Swift 3
- Host: GitHub
- URL: https://github.com/gazolla/colorpickercontroller
- Owner: gazolla
- Created: 2017-08-12T21:38:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-13T23:18:22.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T10:26:15.649Z (4 months ago)
- Language: Swift
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ColorPickerController
ColorPickerController written in Swift 3### Supported Platforms
iOS 10+### Installing
In order to install `ColorPickerController`, you'll need to copy the `ColorPickerController.swift` into your Xcode project.
### Usage
In order to use `ColorPickerController`, you'll need to include the following code in your project:
```swift
let colorPickerController = ColorPickerController()
colorPickerController.modalPresentationStyle = .overCurrentContext
colorPickerController.selectedColor = { color in
// use color in your project
}
present(colorPickerController, animated: true){
colorPickerController.addBlur()
}
```### License
All content is licensed under the terms of the MIT open source license.
### Contact
* Sebastian Gazolla Jr
* [@gazollajr](http://twitter.com/gazollajr)
* [http://gazapps.com](http://gazapps.com)
* [http://about.me/gazolla](http://about.me/gazolla)