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

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

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: 6
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

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