renamed Field.Computed to Field.Virtual to distinguish from Field.Derived

This commit is contained in:
John Estropia committed 2020-02-06 09:33:08 +09:00
1 parent e9c3312612
commit f0f4049798
10 files changed
+54 -34

No files matched your search

+2 -1
View File
@@ -114,7 +114,8 @@ extension NSManagedObject: DynamicObject {
public class func cs_fromRaw(object: NSManagedObject) -> Self {
return unsafeDowncast(object, to: self)
// unsafeDowncast fails debug assertion starting Swift 5.2
return _unsafeUncheckedDowncast(object, to: self)
}
public static func cs_matches(object: NSManagedObject) -> Bool {