paololeonardi / WaterfallGrid

A waterfall grid layout view for SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find 'WaterfallGrid' in scope

parthsaxena opened this issue · comments

Hi, I am new to SwiftUI and I am a little lost on how to actually incorporate WaterfallGrid into my app / UI. I tried creating a WaterfallGrid as such:

WaterfallGrid(listsViewModel) { listViewModel in
    NavigationLink(destination: ItemListView(list: listViewModel.list)) {
        CardView(listViewModel: listViewModel)
    }
}

But i get the error: Cannot find 'WaterfallGrid' in scope