mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Been there, done that: when one feeds a SwiftUI view from an async sequence, the view MUST display an initial empty state, until the Swift Concurrency runtime provides the initial value of the sequence. That's why the demo app uses a Combine publisher for feeding views with database value. This commit removes a misleading reference to async sequences. Fix #1532
Demo Applications
- GRDBDemoiOS: a storyboard-based UIKit application.
- GRDBCombineDemo: a Combine + SwiftUI application.
- GRDBAsyncDemo: a Async/Await + SwiftUI application.
GRDBCombineDemo and GRDBAsyncDemo use the same @Query property wrapper, that lets SwiftUI views automatically update their content when the database changes. It is defined in the GRDBQuery package.