This commit is contained in:
John Estropia
2026-07-24 11:51:36 +09:00
parent 1ea9ad7c4a
commit 13093d72d4
51 changed files with 1083 additions and 243 deletions
+6 -2
View File
@@ -142,7 +142,9 @@ extension NSManagedObject: DynamicObject {
}
@_spi(Internals)
public class func cs_fromRaw(object: NSManagedObject) -> Self {
public class func cs_fromRaw(
object: NSManagedObject
) -> Self {
#if swift(>=5.9)
return unsafeDowncast(object, to: self)
@@ -309,7 +311,9 @@ extension CoreStoreObject {
}
@_spi(Internals)
public class func cs_fromRaw(object: NSManagedObject) -> Self {
public class func cs_fromRaw(
object: NSManagedObject
) -> Self {
if let coreStoreObject = object.coreStoreObject {