Explorar o código

Make clear available on MacOS otherwise it breaks unit tests

Evgenii Neumerzhitckii %!s(int64=6) %!d(string=hai) anos
pai
achega
c89eca3079
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Sources/KeychainSwift.swift

+ 0 - 1
Sources/KeychainSwift.swift

@@ -266,7 +266,6 @@ open class KeychainSwift {
   
   */
   @discardableResult
-  @available(macOS, unavailable, message: "Not implemented on macOS, call delete for every key.")
   open func clear() -> Bool {
     // The lock prevents the code to be run simlultaneously
     // from multiple threads which may result in crashing