MUOverlay

@IBDesignable
open class MUOverlay : MUNibView

Class that generate overlay with customizable options.

  • Describes the Overlay’s border width appearance while it shows

    Declaration

    Swift

    @IBInspectable
    open dynamic var borderWidth: CGFloat { get set }
  • Describes the Overlay’s border color appearance while it shows

    Declaration

    Swift

    @IBInspectable
    open dynamic var borderColor: UIColor { get set }
  • The overlay’s style.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    override open 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 }