Declaration

enum FlowViewAlignment

Declaration

enum FlowViewAlignment : NSInteger;

Declaration

FlowViewAlignment

Topics

Enumeration Cases

  • Each row is centered horizontally within the available width.

  • Slack space is distributed across each full row. Views whose horizontal content-hugging priority is below NSLayoutPriorityDefaultHigh (750) are stretched to absorb the slack. If no view on the row is stretchable the slack is distributed as extra gap between views instead. The last (incomplete) row always falls back to leading alignment.

  • Subviews are packed toward the leading edge. (Default)

Initializers

Default Implementations

Topics

Enumeration Cases

Relationships

Conforms To

  • Swift.BitwiseCopyable
  • Swift.Equatable
  • Swift.Hashable
  • Swift.RawRepresentable
  • Swift.Sendable
  • Swift.SendableMetatype