UI Components
-
ColorWell can be used to present the user’s color selection in your user interface. It optionally also supports drag-and-drop operations.
By default, drop interactions are supported, which causes a
UIControl.Event.valueChangedevent to be emitted. Optionally, drag operations can be enabled, allowing the color to be dropped elsewhere.You can also use
See moreUIControl.Event.touchUpInsideto perform an action, such as to initialise and present an instance ofColorPickerViewController.Declaration
Swift
@objc(HBColorWell) open class ColorWell : UIControl
View on GitHub
Install in Dash
UI Components Reference