SVColorPicker 2.0.1

SVColorPicker 2.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3
SPMSupports SPM

Maintained by Sarath Vijay.



  • By
  • sarath

SVColorPicker

SVColorPicker is a lightweight color picker library written in swift. User will be presented with a slider and on sliding, user can select required color.

sample_gif

Requirements

  • Xcode 8
  • Swift 3
  • iOS 10+

Installation

Manually:

  • Download SVColorPicker.
  • Drag and drop SVColorPicker directory to your project ## Usage

For including color picker in your view, add the following code

let colorPickerframe = __REQUIRED_FRAME__
let colorPicker = ColorPickerView(frame: colorPickerframe)
colorPicker.colorChangeBlock = { color in
//Use color and do the requied.
}
self.view.addSubview(colorPicker)

Author

sarath, [email protected]

License

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