Unify generics usage in ListMonitor and ObjectMonitor

This commit is contained in:
John Estropia committed 2017-04-20 10:42:47 +09:00
1 parent b0e2655bdf
commit fd14a18248
7 files changed
+93 -93

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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