added tool to convert existing NSManagedObjectModels to the new CoreStoreSchema

This commit is contained in:
John Estropia committed 2017-04-21 14:54:57 +09:00
1 parent 02a660e4a6
commit fe70b7a27d
16 files changed
+517 -66

No files matched your search

@@ -190,7 +190,7 @@ public extension ImportableUniqueObject where Self: DynamicObject {
.setValue(
newValue,
forKvcKey: type(of: self).uniqueIDKeyPath,
willSetValue: { $0.cs_toImportableNativeType() }
willSetValue: { ($0.cs_toImportableNativeType() as! CoreDataNativeType) }
)
}
}