AlignmentGuide

public struct AlignmentGuide

Determines how a stack child will be aligned on the cross axis relative to other children.

  • Returns a value along the stack’s cross axis, in the element’s own coordinate space, where a child should be aligned relative to the alignment guides of its siblings.

    Declaration

    Swift

    public var computeValue: (ElementDimensions) -> CGFloat