Fix compiler complain that `NSSecureCodingKeyChange` is only available in iOS 11.0 or newer (#64)
This commit is contained in:
parent
6546b8ec22
commit
c956886bba
|
@ -447,10 +447,10 @@ extension Defaults.ObservationOptions {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@available(macOS 10.13, macOSApplicationExtension 10.13, watchOSApplicationExtension 4.0, *)
|
@available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, iOSApplicationExtension 11.0, macOSApplicationExtension 10.13, tvOSApplicationExtension 11.0, watchOSApplicationExtension 4.0, *)
|
||||||
extension Defaults.NSSecureCodingKeyChange: Equatable where Value: Equatable { }
|
extension Defaults.NSSecureCodingKeyChange: Equatable where Value: Equatable { }
|
||||||
|
|
||||||
@available(macOS 10.13, macOSApplicationExtension 10.13, watchOSApplicationExtension 4.0, *)
|
@available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, iOSApplicationExtension 11.0, macOSApplicationExtension 10.13, tvOSApplicationExtension 11.0, watchOSApplicationExtension 4.0, *)
|
||||||
extension Defaults.NSSecureCodingOptionalKeyChange: Equatable where Value: Equatable { }
|
extension Defaults.NSSecureCodingOptionalKeyChange: Equatable where Value: Equatable { }
|
||||||
|
|
||||||
extension Defaults.KeyChange: Equatable where Value: Equatable { }
|
extension Defaults.KeyChange: Equatable where Value: Equatable { }
|
||||||
|
|
Loading…
Reference in New Issue