Swift 4 support

This commit is contained in:
John Estropia committed 2017-06-09 11:25:28 +09:00
1 parent f618617053
commit 6e01a58c85
17 files changed
+116 -69

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ public final class CoreStoreSchema: DynamicSchema {
case let attribute as AttributeProtocol:
let description = NSAttributeDescription()
description.name = attribute.keyPath
description.attributeType = type(of: attribute).attributeType
description.attributeType = Swift.type(of: attribute).attributeType
description.isOptional = attribute.isOptional
description.isIndexed = attribute.isIndexed
description.defaultValue = attribute.defaultValue