mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-19 07:08:31 +01:00
Merge branch 'prototype/Swift_4_0' into prototype/queryBuilders
# Conflicts: # Sources/OrderBy.swift
This commit is contained in:
commit
08d9298be0
6 files changed
+23
-3
No files matched your search
@@ -31,6 +31,17 @@ import Foundation
|
||||
|
||||
internal extension NSEntityDescription {
|
||||
|
||||
@nonobjc
|
||||
internal var dynamicObjectType: DynamicObject.Type? {
|
||||
|
||||
guard let userInfo = self.userInfo,
|
||||
let typeName = userInfo[UserInfoKey.CoreStoreManagedObjectTypeName] as! String? else {
|
||||
|
||||
return nil
|
||||
}
|
||||
return (NSClassFromString(typeName) as! DynamicObject.Type)
|
||||
}
|
||||
|
||||
@nonobjc
|
||||
internal var coreStoreEntity: DynamicEntity? {
|
||||
|
||||
|
||||
Reference in new issue
Block a user