Skip to content

Commit

Permalink
Enhance demo apps introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Mar 25, 2023
1 parent f4227a6 commit 8426bf3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Documentation

This directory contains two demo apps: [QueryDemo](QueryDemo) and [MVVMDemo](MVVMDemo). Both share the [PlayerRepository](PlayerRepository) package, which wraps a database that contains "players". The DemoApps.xcworkspace is a convenient access to both demo apps.
This directory contains two demo apps. Open DemoApps.xcworkspace in Xcode for a convenient access to both of them.

- [QueryDemo](QueryDemo) uses the [`@Query`](https://swiftpackageindex.com/groue/grdbquery/documentation/grdbquery/gettingstarted) property wrapper.
- [MVVMDemo](MVVMDemo) uses the [`@EnvironmentStateObject`](https://swiftpackageindex.com/groue/grdbquery/documentation/grdbquery/environmentstateobject) property wrapper as a support for the [MVVM](https://swiftpackageindex.com/groue/grdbquery/documentation/grdbquery/mvvm) architecture, using the SwiftUI environment for dependency injection.
- Both apps share the [PlayerRepository](PlayerRepository) package, which wraps a database that contains "players".

0 comments on commit 8426bf3

Please sign in to comment.