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