From 81ed566467f47e34544aea54331f98b2a511632d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 26 Mar 2016 12:17:52 +0100 Subject: [PATCH] FetchedRecordsController TODO --- GRDB/Record/FetchedRecordsController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GRDB/Record/FetchedRecordsController.swift b/GRDB/Record/FetchedRecordsController.swift index 877c2ab71..3ef1c2001 100644 --- a/GRDB/Record/FetchedRecordsController.swift +++ b/GRDB/Record/FetchedRecordsController.swift @@ -230,6 +230,9 @@ public final class FetchedRecordsController { /// This method must be used from the main thread unless the controller has /// been initialized with a custom dispatch queue. public func performFetch() { + // TODO: we need to invalidate pending changes notifications + // TODO: observe when and only when there is a delegate + // Use database.write, so that we are serialized with transaction // callbacks, which happen on the writing queue. database.write { db in