Files
swift-mirror/stdlib/public/SDK/CloudKit/CloudKit.swift
Doug Gregor 3561cfc8bd Bridge 15 NSError error domains into their corresponding enums.
Introduce a number of small overlays to bridge the NSError domains for
a number of frameworks into existing imported enums. This batch only
covers cases where there is an existing NS_ENUM describing the codes
for the domain, so we need only extend that enum to provide the
appropriate _BridgedNSError conformance.

This is the bulk of rdar://problem/20536610.

Swift SVN r28585
2015-05-14 22:34:29 +00:00

8 lines
223 B
Swift

@exported import CloudKit
import Foundation
@available(OSX, introduced=10.10) @available(iOS, introduced=8.0)
extension CKErrorCode : _BridgedNSError {
public static var _NSErrorDomain: String { return CKErrorDomain }
}