Explorar el Código

Make clear available on MacOS otherwise it breaks unit tests

Evgenii Neumerzhitckii hace 6 años
padre
commit
c89eca3079
Se han modificado 1 ficheros con 0 adiciones y 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