Fix version of placement (#6)
A custom layout built on top of SwiftUI’s Layout API that lays elements out in multiple lines.Similar to flex-wrap in CSS, CollectionViewFlowLayout.
Much better performance rathar than using GeometryReader
GeometryReader
Swift 5.7+. SwiftUI requires Layout
Layout
WrapLayout { ... }
Supports Swift Package Manager
MIT license.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
WrapLayout
A custom layout built on top of SwiftUI’s Layout API that lays elements out in multiple lines.
Similar to flex-wrap in CSS, CollectionViewFlowLayout.
Much better performance rathar than using
GeometryReaderRequirements
Swift 5.7+. SwiftUI requires
LayoutInstructions
Installation
Supports Swift Package Manager
License
MIT license.