From a650c0e700b45d8785802bf409ef712629fc8045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 3 Oct 2015 11:46:02 +0200 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c01fb8547..0723e3f2b 100644 --- a/README.md +++ b/README.md @@ -1059,7 +1059,7 @@ try dbQueue.inDatabase { db in do { try dbQueue.inTransaction { db in ... - return .Commit // willCommit, didRollback + return .Commit // willCommit (throws), didRollback } } catch { // The error thrown by the transaction observer. @@ -1079,7 +1079,7 @@ let DatabaseTablesDidChangeNotification = "DatabaseTablesDidChangeNotification" let ChangedTableNamesKey = "ChangedTableNames" /// TableChangeObserver posts a DatabaseTablesDidChangeNotification on the main -/// thread after database tables have changed: +/// thread after database tables have changed. class TableChangeObserver : NSObject, TransactionObserverType { private var changedTableNames: Set = []