Post

Replies

Boosts

Views

Activity

Comment on SwiftUI and SwiftData @Query
Thanks so much for the reply. If I understand correctly, suppose I have a Query like: @Query var allNotes [Note] in my ContentView and I have 3 child views, one for each tab in the app I would pass down a binding to allNotes to each of the 3 child views?
Aug ’24