mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-26 19:31:13 +01:00
WIP: allow migrations for CoreStoreObjects
This commit is contained in:
@@ -580,11 +580,11 @@ extension UUID: ImportableAttributeType {
|
||||
|
||||
enum Static {
|
||||
|
||||
static let empty: UUID = {
|
||||
static let empty: UUID = cs_lazy {
|
||||
|
||||
var zero = Array<UInt8>(repeating: 0, count: 16)
|
||||
return NSUUID(uuidBytes: &zero) as UUID
|
||||
}()
|
||||
}
|
||||
}
|
||||
return Static.empty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user