-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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". |