From 10ac19db72cdebc2da28a7a31cc7865a07ddbd26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 10 Feb 2016 08:53:24 +0100 Subject: [PATCH] GRDBDemoiOS README --- DemoApps/GRDBDemoiOS/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DemoApps/GRDBDemoiOS/README.md b/DemoApps/GRDBDemoiOS/README.md index 61e774223..1fd65d1b8 100644 --- a/DemoApps/GRDBDemoiOS/README.md +++ b/DemoApps/GRDBDemoiOS/README.md @@ -16,11 +16,11 @@ This application runs an universal (iPhone + iPad) application that displays an **To see usage of GRDB, check the following files:** -- [AppDelegate.swift](GRDBDemoiOS/AppDelegate.swift) - - AppDelegate sets up a global dbQueue that is accessible in the whole application. +- [Database.swift](GRDBDemoiOS/Database.swift) - It uses migrations to initialize the database. + The setupDatabase() function sets up a global dbQueue that is accessible in the whole application. It is called by the [AppDelegate](GRDBDemoiOS/AppDelegate.swift) when application starts up. + + It uses [migrations](https://github.com/groue/GRDB.swift#migrations) to initialize the database, and [custom string comparison](https://github.com/groue/GRDB.swift#string-comparison) in order to let the database perform the localized sorting of persons by name. - [MasterViewController.swift](GRDBDemoiOS/MasterViewController.swift) @@ -28,7 +28,7 @@ This application runs an universal (iPhone + iPad) application that displays an - [Person.swift](GRDBDemoiOS/Person.swift) - Person is a simple Record subclass. + Person is a simple [Record](https://github.com/groue/GRDB.swift#records) subclass. - [DetailViewController.swift](GRDBDemoiOS/DetailViewController.swift) and [PersonEditionViewController.swift](GRDBDemoiOS/PersonEditionViewController.swift)