Skip to content

Commit 01c88b8

Browse files
Migrate prepareDependencies details to swift-dependencies link (#35)
* Migrate prepareDependencies details to swift-dependencies link * Update GRDBQueryKey.swift --------- Co-authored-by: Stephen Celis <[email protected]>
1 parent ae41f06 commit 01c88b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Examples/GRDBDemo/GRDB/GRDBQueryKey.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ extension DependencyValues {
5656
"""
5757
A blank, in-memory database is being used for the app. To set the database that is used by \
5858
the 'grdbQuery' key you can use the 'prepareDependencies' tool as soon as your app \
59-
launches, such as in the entry point:
60-
59+
launches, such as in your app or scene delegate in UIKit, or the app entry point in SwiftUI:
60+
6161
@main
62-
struct EntryPoint: App {
62+
struct MyApp: App {
6363
init() {
6464
prepareDependencies {
6565
$0.defaultDatabase = try! DatabaseQueue(/* ... */)

0 commit comments

Comments
 (0)