Filtering @Query using

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Download the completed project here: github.com/two...
    Other parts in Project 12:
    Introduction: www.hackingwit...
    1. Editing SwiftData model objects: • Editing SwiftData mode...
    2. Filtering @Query using #Predicate: This video
    3. Dynamically sorting and filtering @Query with SwiftUI: • Dynamically sorting an...
    4. Relationships with SwiftData, SwiftUI, and @Query: • Relationships with Swi...
    5. Syncing SwiftData with CloudKit: • Syncing SwiftData with...
    Wrap up and challenges: www.hackingwit...
    You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: www.hackingwit...
    Watch the full 100 Days of SwiftUI playlist here: • Understanding the basi...

Комментарии • 2

  • @Covalent5
    @Covalent5 9 месяцев назад

    Can you show us how to handle thousands of users and multiple sortings please.

  • @anianii
    @anianii 9 месяцев назад

    You don't know by any chance of any Bugs where query doesn't automatically update when the data changes? I'm modifying the data in an App extension (same group container, and calling modelContext.save() there), but the app doesn't show it until I restart it. Not even navigating to a different screen and back, or even adding/modifying data from within the app makes the data show. Only when I restart it.