This Swift 3 application stores, displays, and lets the user search the WWDC 2017 sessions.
-
Clone the WWDCCompanion repository
-
Execute:
cd WWDCCompanion git submodule update --init GRDB cd GRDB git submodule update --init SQLiteCustom/src
-
Open WWDCCompanion.xcworkspace
-
Run the WWDCCompanion target
-
Perform full-text search in an SQLite database with GRDB.swift
- Database.swift initializes the SQLite database.
- Session is the GRDB record that allows fetching and saving WWDC sessions in the database.
- SessionsTableViewController synchronizes its table view with the content of the database with a fetched records controller.
- SearchResultsTableViewController performs full-text search.
-
Install GRDB with a custom build of SQLite
-
Render HTML templates with GRMustache.swift
- SessionViewController renders an HTML template that displays a WWDC session.
-
Parse HTML with Fuzi