Simple Color Picker
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
platform :ios, '9.0'
use_frameworks!
target '<Your Target Name>' do
pod 'YWColorPicker'
end
Then, run the following command:
$ pod install
showColorPicker()
showColorPicker(_initial color:UIColor)
func finishSelection(_ color:UIColor)
var pickerColor:YWColorPicker?
pickerColor = YWColorPicker(parent: self)
pickerColor?.delegate = self
- Updated occasionally for more functionality
- Message me through here http://yoseph.ws for more fast responds
- Creator Yoseph Wijaya (Swift 3.0)
- Reference from ios-color-picker (Objective-C)