mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
At some point I want to propose a revised model for exports, but for now just mark that support for '@exported' is still experimental and subject to change. (Thanks, Max.)
13 lines
288 B
Swift
13 lines
288 B
Swift
@_exported import LocalAuthentication
|
|
import Foundation
|
|
|
|
@available(OSX 10.10, iOS 8.0, *)
|
|
extension LAError : _BridgedNSError {
|
|
public static var _NSErrorDomain: String {
|
|
if #available(iOS 8.3, *) {
|
|
return LAErrorDomain
|
|
}
|
|
return "com.apple.LocalAuthentication"
|
|
}
|
|
}
|