Procházet zdrojové kódy

Add ObjC bridge and instructions

Evgenii Neumerzhitckii před 9 roky
rodič
revize
0991e64f1c
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      Demo/KeychainSwiftCBridge.swift

+ 1 - 3
Demo/KeychainSwiftCBridge.swift

@@ -25,7 +25,7 @@ import KeychainSwift // You might need to remove this import in your project
  
  3. You might need to remove `import KeychainSwift` import from this file in your project.
  
- */
+*/
 @objc public class KeychainSwiftCBridge: NSObject {
   let keychain = KeychainSwift()
   
@@ -51,13 +51,11 @@ import KeychainSwift // You might need to remove this import in your project
   
   @discardableResult
   open func setData(_ value: Data, forKey key: String) -> Bool {
-    
     return keychain.set(value, forKey: key)
   }
   
   @discardableResult
   open func setBool(_ value: Bool, forKey key: String) -> Bool {
-    
     return keychain.set(value, forKey: key)
   }