mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
7 lines
156 B
Swift
7 lines
156 B
Swift
@exported import GameKit
|
|
import Foundation
|
|
|
|
extension GKErrorCode : _BridgedNSError {
|
|
public static var _NSErrorDomain: String { return GKErrorDomain }
|
|
}
|