MUOption

internal class MUOption : MUNibView, MURadioButtonProtocol

Class that act like an UISwitch and can be group.

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

    Declaration

    Swift

    internal weak var delegate: MURadioButtonDelegate?
  • The option button’s selected state.

    Declaration

    Swift

    internal var selected: Bool { get set }
  • Initializes and returns a newly allocated MUOption.

    Declaration

    Swift

    internal convenience init(data: MUOptionData)
  • Set title’s font.

    Declaration

    Swift

    @discardableResult
    internal func set(font: UIFont) -> MUOption
  • Set selected color.

    Declaration

    Swift

    @discardableResult
    internal func set(selectedColor: UIColor) -> MUOption
  • Set unselected color.

    Declaration

    Swift

    @discardableResult
    internal func set(unselectedColor: UIColor) -> MUOption