DirectionalEdgeInsetsConvertible
public protocol DirectionalEdgeInsetsConvertible
A type that can be converted to directional or fixed edge insets.
-
Converts the value into
NSDirectionalEdgeInsets.Declaration
Swift
@available(iOS 11.0, macCatalyst 10.15, *) func directionalEdgeInsets( for traitCollection: UITraitCollection? ) -> NSDirectionalEdgeInsetsParameters
traitCollectionThe trait collection relative to which the direction is computed, using its
layoutDirectionproperty. -
Converts the value into
UIEdgeInsets.Declaration
Swift
func fixedEdgeInsets( for traitCollection: UITraitCollection? ) -> UIEdgeInsetsParameters
traitCollectionThe trait collection relative to which the direction is computed, using its
layoutDirectionproperty.
View on GitHub
Install in Dash
DirectionalEdgeInsetsConvertible Protocol Reference