Inspired by: FiveStarsBlog/Flexible-SwiftUI
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
dependencies: [
.package(url: "https://github.com/berbschloe/FlexView.git", from: "1.0.0")
]
FlexView(data: ["One", "Two", "Three"], spacing: 8, alignment: .leading) { item in
Text(verbatim: item)
.padding(8)
.background(RoundedRectangle(cornerRadius: 8).fill(Color.gray.opacity(0.2))
}
link |
Stars: 8 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics