MUProportionalBar

@IBDesignable
open class MUProportionalBar : MUNibView

Class that provide a proportional progress with customizable options.

  • The progress bar’s style.

    Declaration

    Swift

    open var style: MUCornerStyle { get set }
  • Optional: The IBInspectable version of the progress bar’s style.

    Declaration

    Swift

    @IBInspectable
    open dynamic var styleInt: Int { get set }
  • The progress bar’s corner radius.

    Declaration

    Swift

    @IBInspectable
    open dynamic var radius: CGFloat { get set }
  • The title’s top offset.

    Declaration

    Swift

    @IBInspectable
    open dynamic var titleOffset: CGFloat { get set }
  • The title’s horizontal padding.

    Declaration

    Swift

    @IBInspectable
    open dynamic var titleHorizontalPadding: CGFloat { get set }
  • The title’s font.

    Declaration

    Swift

    @objc
    open dynamic var titleFont: UIFont { get set }
  • The proportioal items

    Declaration

    Swift

    public var items: [MUProportionalItem] { get set }
  • Default setup to load the view from a xib file.

    Declaration

    Swift

    open override func xibSetup()