StateIndicator

open class StateIndicator: UIControl

A customizable UIControl used to indicate states or to give visual notice.

Abstracts the drawing of an outline circle. Subclasses can focus just on drawing the symbol.

  • The line width for the outline of the indicator.

    Declaration

    Swift

    @objc open dynamic var lineWidth: CGFloat = Style.stateIndicatorLineWidth
  • The stroke color for the symbol.

    Declaration

    Swift

    @objc open dynamic var strokeColor: UIColor = Style.stateIndicatorStrokeColor
  • The outline color.

    Declaration

    Swift

    @objc open dynamic var outlineStrokeColor: UIColor = Style.stateIndicatorStrokeColor