Flow

A flow view for SwiftUI

MIT License

Stars
15

Bot releases are hidden (Show)

Flow - v1.2.3 Latest Release

Published by toastersocks 8 months ago

This fixes an alignment issue where views could be be misplaced when using a non-leading alignment. This occurred when the bounds proposed was non-zero, which is common when a Layout is used inside another layout container.

Flow - v1.2.2 - Fix compile error on watchOS and tvOS

Published by toastersocks about 1 year ago

Flow - v1.2.1 - Fix a compile error in release mode.

Published by toastersocks about 1 year ago

Flow - Initial Release

Published by toastersocks about 1 year ago

Flow - Now with more system spacing

Published by toastersocks about 1 year ago

You can now use the default system spacing.

If you don't specify a spacing (or pass nil as the spacing), the default system spacing will be used between the flow's views.

Flow - More alignments

Published by toastersocks about 1 year ago

Added three new alignments:

  • center: Centers subviews horizontally within a row. Rows are centered within the container.
  • centerDistribute: Extra space is first added equally before the first and after the last subviews up to the spacing amount, then distributed evenly between and around the subviews.
  • centerJustify: Aligns the horizontal centers of subviews within a row. The first subview aligns with the leading edge and the last subview aligns with the trailing edge of the container. Extra space is distributed evenly between subviews. This is similar to how justified text is laid out in a paragraph.