mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
298 B
Swift
13 lines
298 B
Swift
@exported import LocalAuthentication
|
|
import Foundation
|
|
|
|
@available(OSX 10.10, iOS 8.0, *)
|
|
extension LAError : _BridgedNSError {
|
|
public static var _NSErrorDomain: String {
|
|
if #available(OSX 10.10, iOS 8.3, *) {
|
|
return LAErrorDomain
|
|
}
|
|
return "com.apple.LocalAuthentication"
|
|
}
|
|
}
|