RSDCheckmarkView

@IBDesignable
public final class RSDCheckmarkView : UIView

A checkmark view is a simple view that draws a checkmark on a dark background.

  • The corner radius for the checkmark. Default == -1, which will result in a circle.

    Declaration

    Swift

    @IBInspectable
    public var cornerRadius: CGFloat { get set }
  • The color of the checkmark.

    Declaration

    Swift

    @IBInspectable
    public var checkmarkColor: UIColor { get set }
  • Whether or not the checkmark is hidden.

    Declaration

    Swift

    @IBInspectable
    public var checkmarkHidden: Bool { get set }
  • Override background color to instead set a layer that can be inset.

    Declaration

    Swift

    override public var backgroundColor: UIColor? { get set }
  • Animate drawing the checkmark. Calling this method does nothing if the checkmark is not hidden.

    Declaration

    Swift

    public func drawCheckmark(_ animated: Bool)