ColorCircle
open class ColorCircle : UIControl
The ColorCircle
class implements the control to select a color from the color circle.
Control sends UIControlEvents.ValueChanged
event.
-
The selected color.
Note
To set the color, usesetColor(_:animated:sendEvent:)
method.Declaration
Swift
open var color: UIColor { get }
-
Sets the color.
Declaration
Swift
open func setColor(_ color: UIColor, animated: Bool, sendEvent: Bool)
Parameters
color
The color to set.
animated
true
if animate the change, andfalse
if it should be immediately.sendEvent
A Boolean value specifying whether to send the action message.