Skip to content

nsnull0/YWColorPicker

Repository files navigation

YWColorPicker

CI Status Version License Platform

Simple Color Picker

Availability

⚠️ This Library only Available to Swift > 3.0 ⚠️

Screenshot

iPhone6s

CocoaPods Local

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

Property Setup

showColorPicker()
showColorPicker(_initial color:UIColor)

Delegation

func finishSelection(_ color:UIColor)

Example

var pickerColor:YWColorPicker?

pickerColor = YWColorPicker(parent: self)
pickerColor?.delegate = self

Support

  • Updated occasionally for more functionality
  • Message me through here http://yoseph.ws for more fast responds

Credits

  • Creator Yoseph Wijaya (Swift 3.0)
  • Reference from ios-color-picker (Objective-C)