GridStack
GridStack copied to clipboard
A flexible grid layout view for SwiftUI
```swift struct ContentView: View { // Setup init() { UITableView.appearance().backgroundColor = .clear // UITableViewCell.appearance().backgroundColor = .clear } var body: some View { NavigationView{ Sidebar() .navigationTitle("Recon") GridStack(minCellWidth: 300, spacing: 2, numItems:...
Hi! So I'm in a situation where I want a horizontal list of items that also stack verticaly when too much items are sent to it, and your tool is...
I am looking for a SwiftUI component like LazyGrid (https://stackoverflow.com/questions/62606907/swiftui-using-ondrag-and-ondrop-to-reorder-items-within-one-single-lazygrid), but needs to be forward compatible with iOS 13.x or macOS 10.15.x. Does GridStack have this feature please?
My cell looks like this: ``` struct CollectionCell: View { var type: PokemonTypes var body: some View { HStack { Image(type.imageName) Divider() GeometryReader { geometry in GridStack(minCellWidth: geometry.size.width / 2,...