MURadioButton

@IBDesignable
open class MURadioButton : MUNibView, MURadioButtonProtocol

Class that act like an UISwitch and can be group.

  • The object that acts as the delegate of the radio button.

    Declaration

    Swift

    @IBOutlet
    public weak var delegate: MURadioButtonDelegate?
  • The radio button’s selected state.

    Declaration

    Swift

    @IBInspectable
    open dynamic var selected: Bool { get set }
  • The radio button’s border width.

    Declaration

    Swift

    @IBInspectable
    open dynamic var borderWidth: CGFloat { get set }
  • The radio button’s border color.

    Declaration

    Swift

    @IBInspectable
    open dynamic var borderColor: UIColor { get set }
  • Specifies the indicator’s color.

    Declaration

    Swift

    @IBInspectable
    open dynamic var indicatorColor: UIColor { get set }
  • Specifies the indicator’s padding.

    Declaration

    Swift

    @IBInspectable
    open dynamic var indicatorPadding: CGFloat { get set }
  • Default setup to load the view from a xib file.

    Declaration

    Swift

    open override func xibSetup()
  • Lays out subviews.

    Declaration

    Swift

    override open func layoutSubviews()
  • The natural size for the receiving view, considering only properties of the view itself.

    Declaration

    Swift

    override open var intrinsicContentSize: CGSize { get }