Simple HSV Color Picker for iOS made in Swift. Includes a Hue and Saturation wheel, Brightness slider and a UIView for displaying the selected color.
Copy the contents of "Source" to your project.
Add a UIView of subclass "SwiftHSVColorPicker" to your storyboard or create it programmatically:
let colorPicker = SwiftHSVColorPicker(frame: CGRectMake(10, 20, 300, 400)) self.view.addSubview(colorPicker)
After adding the Color Picker to your project, initialize your SwiftHSVColorPicker by calling:
This will create all the objects of the Color Picker and set they're initial value to red.
Please download and run "SwiftHSVColorPickerExample" for example usage.
SwiftHSVColorPicker is available under the MIT license. See the LICENSE file for more info.