We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75355c4 + 29eece8 commit bc641c1Copy full SHA for bc641c1
stdlib/public/SDK/CloudKit/CloudKit.swift
@@ -4,8 +4,9 @@ import Foundation
4
@available(macOS 10.10, iOS 8.0, *)
5
extension CKError {
6
/// Retrieve partial error results associated by item ID.
7
- public var partialErrorsByItemID: [NSObject : Error]? {
8
- return userInfo[CKPartialErrorsByItemIDKey] as? [NSObject : Error]
+ public var partialErrorsByItemID: [AnyHashable: Error]? {
+ return userInfo[CKPartialErrorsByItemIDKey] as? [AnyHashable: NSError]
9
+ as? [AnyHashable: Error]
10
}
11
12
/// The original CKRecord object that you used as the basis for
0 commit comments