Closed alelordelo closed 5 years ago
Hi @karolkulesza,
Amazing stuff mate, been waiting for this since SwiftUI was introduced! : )
Im trying to make a simple grid without data (static cells), but got the error bellow. Any idea what is wrong?
I am using: Xcode 11 Beta 5 Catalina Beta 5
`// GridView.swift
import QGrid import SwiftUI
struct GridView: View { var body: some View { QGrid(columns: 4, { ProductCell() } } }
struct GridView_Previews : PreviewProvider { static var previews: some View { GridView() } }
Hi @alelordelo,
As you can see in the Roadmap / TODOs section, this is one of the features that could be implemented, so if you want, feel free to contribute 😎
Best, Karol
Hi @karolkulesza,
Amazing stuff mate, been waiting for this since SwiftUI was introduced! : )
Im trying to make a simple grid without data (static cells), but got the error bellow. Any idea what is wrong?
I am using: Xcode 11 Beta 5 Catalina Beta 5
`// GridView.swift
import QGrid import SwiftUI
struct GridView: View { var body: some View { QGrid(columns: 4, { ProductCell() } } }
if DEBUG
struct GridView_Previews : PreviewProvider { static var previews: some View { GridView() } }
endif`