RoundedButton

@IBDesignable
public class RoundedButton : UIButton

Creates rounded button with animatable borders and marks in the middle of it. It draw failure and success marks.

  • Designable
  • Inspectable
  • Declaration

    Swift

    override public var borderWidth: CGFloat { get set }
  • The color inside button

    Declaration

    Swift

    @IBInspectable
    public var innerBackgroundColor: UIColor
  • Undocumented

    Declaration

    Swift

    @IBInspectable
    public var successColor: UIColor
  • Undocumented

    Declaration

    Swift

    @IBInspectable
    public var failureColor: UIColor
  • Undocumented

    Declaration

    Swift

    @IBInspectable
    public var shouldLoadAfterSelected: Bool { get set }
  • Declaration

    Swift

    override public var cornerRadius: CGFloat { get set }
  • Declaration

    Swift

    override public var borderColor: UIColor? { get set }
  • Undocumented

    Declaration

    Swift

    override public var isHighlighted: Bool { get set }
  • Undocumented

    Declaration

    Swift

    override public var intrinsicContentSize: CGSize { get }
  • Undocumented

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override public func prepareForInterfaceBuilder()
  • Handle response and draw mark in the middle

    Declaration

    Swift

    public func handleResponse(with response: Response, completion: (() -> Void)? = nil)
  • Starts animation, hides the title

    Declaration

    Swift

    public func animate()