@IBOutlet weak var pickerView: ColorPickerView! {
didSet { pickerView.delegate = self }
}
func colorPicker(colorPicker: ColorPickerView, didPickColor color: UIColor, touchPoint point: CGPoint) {
view.backgroundColor = color
}
ColorPickerView is available through Carthage. To install it, simply add the following line to your Cartfile:
github "malt03/ColorPickerView"
ColorPickerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ColorPickerView"
Koji Murata, malt.koji@gmail.com
ColorPickerView is available under the MIT license. See the LICENSE file for more info.