We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e83865 commit 31f5908Copy full SHA for 31f5908
1 file changed
Sources/SQLiteData/CloudKit/CloudKit+StructuredQueries.swift
@@ -78,12 +78,12 @@
78
}
79
80
private init(data: Data) throws {
81
- let coder = try NSKeyedUnarchiver(forReadingFrom: data)
82
- coder.requiresSecureCoding = true
83
- guard let queryOutput = Record(coder: coder) else {
+ let unarchiver = try NSKeyedUnarchiver(forReadingFrom: data)
+ unarchiver.requiresSecureCoding = true
+ guard let queryOutput = Record(coder: unarchiver) else {
84
throw DecodingError()
85
86
- queryOutput.decodeMockSystemFieldsIfNeeded(from: coder)
+ queryOutput.decodeMockSystemFieldsIfNeeded(from: unarchiver)
87
self.init(queryOutput: queryOutput)
88
89
0 commit comments