ViewEdgeConvertible
public protocol ViewEdgeConvertible
A type that can convert between fixed and directional view edges.
-
Converts the type to fixed view edges.
Declaration
Swift
func fixedViewEdge( using traitCollection: UITraitCollection? ) -> FixedViewEdge
Parameters
traitCollection
The traits to use to determine layout direction.
-
Converts the type to directional view edges.
Declaration
Swift
func directionalViewEdge( using traitCollection: UITraitCollection? ) -> DirectionalViewEdge
Parameters
traitCollection
The traits to use to determine layout direction.