mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-02-25 00:55:09 +01:00
Merge branch 'corestore2_develop' into corestore2_develop_objc
This commit is contained in:
@@ -1123,6 +1123,7 @@ public final class ListMonitor<T: NSManagedObject>: Hashable {
|
||||
self.observerForWillChangePersistentStore = NotificationObserver(
|
||||
notificationName: NSPersistentStoreCoordinatorStoresWillChangeNotification,
|
||||
object: coordinator,
|
||||
queue: NSOperationQueue.mainQueue(),
|
||||
closure: { [weak self] (note) -> Void in
|
||||
|
||||
guard let `self` = self else {
|
||||
@@ -1144,6 +1145,7 @@ public final class ListMonitor<T: NSManagedObject>: Hashable {
|
||||
self.observerForDidChangePersistentStore = NotificationObserver(
|
||||
notificationName: NSPersistentStoreCoordinatorStoresDidChangeNotification,
|
||||
object: coordinator,
|
||||
queue: NSOperationQueue.mainQueue(),
|
||||
closure: { [weak self] (note) -> Void in
|
||||
|
||||
guard let `self` = self else {
|
||||
|
||||
Reference in New Issue
Block a user