InnerViewContainerDimensions

public protocol InnerViewContainerDimensions : AnyObject

Dimensional protocol for obtaining bounds from an inner view’s container.

  • Bounds of the container.

    Declaration

    Swift

    var bounds: CGRect { get }
  • Safe area insets of the container.

    Declaration

    Swift

    @available(iOS 11.0, *)
    var safeAreaInsets: UIEdgeInsets { get }
  • maxDimensions Default implementation

    The maximum dimensions for this inner view.

    Default Implementation

    The default implementation of maxDimensions. It returns nil

    Declaration

    Swift

    var maxDimensions: CGSize? { get }
  • minDimensions Default implementation

    The minimum dimensions for this inner view.

    Default Implementation

    The default implementation of minDimensions. It returns nil

    Declaration

    Swift

    var minDimensions: CGSize? { get }
  • inlineValidationViewHeight Default implementation

    The height of the inline validation view. Returns 0 if there is no inline validation view.

    Default Implementation

    The defaut implementation of inlineValidationViewHeight. It returns 0.

    Declaration

    Swift

    var inlineValidationViewHeight: CGFloat { get }
  • Scroll this view to visible if the container is able to scroll.

    Declaration

    Swift

    func scrollToVisible()