mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This isn't strictly necessary, since it's an implementation detail, but it's consistent with the following changes.
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"
|
|
}
|
|
}
|