RSDRoundedButton

@IBDesignable open class RSDRoundedButton : RSDButton

RSDRoundedButton is a UI element for displaying navigation buttons in the footer area of a view.

  • Undocumented

    Declaration

    Swift

    public static let defaultHeight: CGFloat = 52.0
  • Undocumented

    Declaration

    Swift

    public static let defaultWidthWith2Buttons: CGFloat = CGFloat(144.0).rsd_proportionalToScreenWidth(max: 160)
  • Undocumented

    Declaration

    Swift

    public static let defaultWidthWith1Button: CGFloat = CGFloat(280.0).rsd_proportionalToScreenWidth(max: 320)
  • Undocumented

    Declaration

    Swift

    public static let defaultCornerRadius: CGFloat = defaultHeight / 2.0
  • The corner radius of the button.

    Declaration

    Swift

    @IBInspectable open var corners: CGFloat = RSDRoundedButton.defaultCornerRadius
  • The shadow color of the button.

    Declaration

    Swift

    @IBInspectable open var shadowColor: UIColor = UIColor.rsd_roundedButtonShadowDark
  • Undocumented

    Declaration

    Swift

    override open var isEnabled: Bool
  • Undocumented

    Declaration

    Swift

    open var titleFont: UIFont?
  • Undocumented

    Declaration

    Swift

    open var titleColor: UIColor?
  • Undocumented

    Declaration

    Swift

    public required init()
  • Undocumented

    Declaration

    Swift

    override public init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    override open func prepareForInterfaceBuilder()
  • Undocumented

    Declaration

    Swift

    open func setupDefaults()
  • Undocumented

    Declaration

    Swift

    open func commonInit()
  • Undocumented

    Declaration

    Swift

    override open func layoutSubviews()