DirectionalViewEdge

public enum DirectionalViewEdge : Equatable
extension DirectionalViewEdge: ViewEdgeConvertible

A view edge relative to the layout direction of on-screen text.

  • top

    The top edge.

    Declaration

    Swift

    case top
  • The leading edge.

    Declaration

    Swift

    case leading
  • The trailing edge.

    Declaration

    Swift

    case trailing
  • The bottom edge.

    Declaration

    Swift

    case bottom
  • Declaration

    Swift

    public func fixedViewEdge(
        using traitCollection: UITraitCollection?
    ) -> FixedViewEdge
  • Declaration

    Swift

    public func directionalViewEdge(
        using traitCollection: UITraitCollection?
    ) -> DirectionalViewEdge