MUProportionalView

open class MUProportionalView : UIView

Class that act like with dynamic size.

  • Define the view width

    Declaration

    Swift

    open func set(width: CGFloat)
  • Define the view height

    Declaration

    Swift

    open func set(height: CGFloat)
  • The natural size for the receiving view, considering only properties of the view itself.

    Declaration

    Swift

    open override var intrinsicContentSize: CGSize { get }