瀏覽代碼

Add ObjC bridge and instructions

Evgenii Neumerzhitckii 9 年之前
父節點
當前提交
0991e64f1c
共有 1 個文件被更改,包括 1 次插入3 次删除
  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)
   }