Skip to content

Commit 54c6621

Browse files
committed
Revert "Notify listeners of changes when updating predicate and sort descriptors"
This reverts commit 9b6b6da.
1 parent 56e1a54 commit 54c6621

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/Sources/Yosemite/Tools/ResultsController.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,13 @@ public class GenericResultsController<T: ResultsControllerMutableType, Output> {
234234
private func refreshFetchedObjects(predicate: NSPredicate?) {
235235
controller.fetchRequest.predicate = predicate
236236
try? controller.performFetch()
237-
onDidChangeContent?()
238237
}
239238

240239
/// Refreshes all of the Fetched Objects, so that the new sort descriptors are applied.
241240
///
242241
private func refreshFetchedObjects(sortDescriptors: [NSSortDescriptor]?) {
243242
controller.fetchRequest.sortDescriptors = sortDescriptors
244243
try? controller.performFetch()
245-
onDidChangeContent?()
246244
}
247245

248246
/// Initializes the FetchedResultsController

0 commit comments

Comments
 (0)