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
colorThe color to set.
animatedtrueif animate the change, andfalseif it should be immediately.sendEventA Boolean value specifying whether to send the action message.
View on GitHub
ColorCircle Class Reference