mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-23 08:44:12 +01:00
added utility to inspect NSEntityDescription for a given NSManagedObject type
This commit is contained in:
1 parent
ff4629908a
commit
0c9e6afe0e
2 files changed
+14
-3
No files matched your search
@@ -150,7 +150,7 @@ internal extension NSManagedObjectModel {
|
||||
return self.entityNameMapping[NSStringFromClass(entityClass)]!
|
||||
}
|
||||
|
||||
@nonobjc internal func entityMapping() -> [String: NSManagedObject.Type] {
|
||||
@nonobjc internal func entityTypesMapping() -> [String: NSManagedObject.Type] {
|
||||
|
||||
return self.entityNameMapping.reduce([:]) { (var mapping, pair) in
|
||||
|
||||
|
||||
Reference in new issue
Block a user