Browse Source

Make clear available on MacOS otherwise it breaks unit tests

Evgenii Neumerzhitckii 6 years ago
parent
commit
c89eca3079
1 changed files with 0 additions and 1 deletions
  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