Swiftpack.co - FluidGroup/swiftui-WrapLayout as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by FluidGroup.
FluidGroup/swiftui-WrapLayout 0.2.1
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.
⭐️ 29
🕓 49 weeks ago
iOS
.package(url: "https://github.com/FluidGroup/swiftui-WrapLayout.git", from: "0.2.1")

WrapLayout

CleanShot 2022-09-10 at 00 45 09@2x

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

Requirements

Swift 5.7+. SwiftUI requires Layout

Instructions

WrapLayout {
  ...
}

Installation

Supports Swift Package Manager

License

MIT license.

GitHub

link
Stars: 29
Last commit: 44 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics