(WIP) SwiftUI working demo for LiveList<D>

This commit is contained in:
John Estropia
2019-10-04 19:12:32 +09:00
parent c5a996d5ed
commit 953c9723a8
12 changed files with 1422 additions and 347 deletions

View File

@@ -948,7 +948,7 @@ public final class ListMonitor<D: DynamicObject>: Hashable {
return
}
let (newFetchedResultsController, newFetchedResultsControllerDelegate) = ListMonitor.recreateFetchedResultsController(
let (newFetchedResultsController, newFetchedResultsControllerDelegate) = Self.recreateFetchedResultsController(
context: self.fetchedResultsController.managedObjectContext,
from: self.from,
sectionBy: self.sectionBy,
@@ -1083,7 +1083,7 @@ public final class ListMonitor<D: DynamicObject>: Hashable {
self.isSectioned = (sectionBy != nil)
self.from = from
self.sectionBy = sectionBy
(self.fetchedResultsController, self.fetchedResultsControllerDelegate) = ListMonitor.recreateFetchedResultsController(
(self.fetchedResultsController, self.fetchedResultsControllerDelegate) = Self.recreateFetchedResultsController(
context: context,
from: from,
sectionBy: sectionBy,