mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-17 06:11:15 +01:00
Unify generics usage in ListMonitor and ObjectMonitor
This commit is contained in:
1 parent
b0e2655bdf
commit
fd14a18248
7 files changed
+93
-93
No files matched your search
@@ -546,7 +546,7 @@ public final class CSListMonitor: NSObject {
|
||||
// MARK: - ListMonitor
|
||||
|
||||
@available(OSX 10.12, *)
|
||||
extension ListMonitor where T: NSManagedObject {
|
||||
extension ListMonitor where ListMonitor.ObjectType: NSManagedObject {
|
||||
|
||||
// MARK: CoreStoreSwiftType
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ public final class CSObjectMonitor: NSObject {
|
||||
// MARK: - ObjectMonitor
|
||||
|
||||
@available(OSX 10.12, *)
|
||||
extension ObjectMonitor where EntityType: NSManagedObject {
|
||||
extension ObjectMonitor where ObjectMonitor.ObjectType: NSManagedObject {
|
||||
|
||||
// MARK: CoreStoreSwiftType
|
||||
|
||||
|
||||
Reference in new issue
Block a user