:rocket: SwiftUI Grid layout with custom styles
This repository will be archived after this release
This release contains breaking changes.
This API is now stable with 1.0.0
\\\ Scrollable grid
ScrollView {
Grid {
...
}
.padding(16)
}
.gridStyle(
ModularGridStyle(.vertical, columns: .min(100), rows: .fixed(100))
)
\\\ Static grid
Grid {
...
}
.gridStyle(
ModularGridStyle(columns: 3, rows: 2)
)
This allows us to embed grid anywhere since scrollview is now optional. Also it is possible now to have sections, list of grids and even grid of grids.
Grid is now a separate package. Other packages have been moved to: https://github.com/swift-extensions/charts https://github.com/swift-extensions/shapes https://github.com/swift-extensions/sliders