Skip to content

Commit d0baddd

Browse files
committed
removing NotificationCenter import for visionOS compatibility
1 parent b060b9b commit d0baddd

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Sources/ActiveCoreData/CoreDataPlus.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11

22
import Foundation
33
import CoreData
4-
import NotificationCenter
5-
6-
74

85
public class ActiveCoreData {
96
public static let shared = ActiveCoreData()
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11

22
import Foundation
33
import CoreData
4-
import NotificationCenter
54

65
public protocol CoreDataContainer {
7-
/// Thread safety is up to you
6+
/// ActiveCoreDataStore is thread safe. If you implement your own data store, be sure to consider thread safety.
87
var viewContext: NSManagedObjectContext { get }
98
var backgroundContext: NSManagedObjectContext { get }
109
}

Sources/ActiveCoreData/DataStore/CoreDataPlusStore.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
import Foundation
33
import CoreData
4-
import NotificationCenter
54

65
public class ActiveCoreDataStore: CoreDataContainer {
76
public static let shared = ActiveCoreDataStore()

0 commit comments

Comments
 (0)