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 } -
maxDimensionsDefault implementationThe maximum dimensions for this inner view.
Default Implementation
The default implementation of
maxDimensions. It returnsnilDeclaration
Swift
var maxDimensions: CGSize? { get } -
minDimensionsDefault implementationThe minimum dimensions for this inner view.
Default Implementation
The default implementation of
minDimensions. It returnsnilDeclaration
Swift
var minDimensions: CGSize? { get } -
inlineValidationViewHeightDefault implementationThe 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()