amc

AMColorPicker

AMColorPicker can select color by three ways.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

58

Maintenance

Last Commit

2yrs ago

Contributors

6

Package

Dependencies

0

License

MIT

Categories

Readme

AMColorPicker

Pod Platform Pod License Pod Version Carthage Compatible

AMColorPicker can select color by three ways.

Demo

colorpicker

WheelTableSlider
wheeltableslider

Usage

Adopt the AMColorPickerDelegate protocol in the class declaration.

class ViewController: UIViewController, AMColorPickerDelegate

Conform to the protocol in the class implementation.

func colorPicker(_ colorPicker: AMColorPicker, didSelect color: UIColor) {    
    // use selected color here
}

Create and present the AMColorPicker as you see fit.

let colorPickerViewController = AMColorPickerViewController()
colorPickerViewController.selectedColor = .red
colorPickerViewController.delegate = self
present(colorPickerViewController, animated: true, completion: nil)

Customization

AMColorPicker can be customized via the following properties.

public var selectedColor: UIColor = .white
public var isCloseButtonShown: Bool = true
public var isSelectedColorShown: Bool = true
WheelTableSlider
modal_wmodal_tmodal_s

Push

WheelTableSlider
push_wpush_tpush_s

Popover

Min height is 380.

WheelTableSlider
pop_wpop_tpop_s

Dark Mode

WheelTableSlider
dark_wdark_tdark_s

Installation

CocoaPods

Add this to your Podfile.

pod 'AMColorPicker'

Carthage

Add this to your Cartfile.

github "adventam10/AMColorPicker"

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100