Evgenii Neumerzhitckii před 9 roky
rodič
revize
26ebdec400
1 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. 9 1
      README.md

+ 9 - 1
README.md

@@ -8,7 +8,15 @@
 [carthage]: https://github.com/Carthage/Carthage
 
 This is a collection of helper functions for saving text and data in the Keychain.
- As you probably noticed Apple's keychain API is a bit verbose. This library was designed to provide shorter syntax for accomplishing a simple task: reading/writing text values for specified keys. The Keychain library includes the following features: 
+ As you probably noticed Apple's keychain API is a bit verbose. This library was designed to provide shorter syntax for accomplishing a simple task: reading/writing text values for specified keys:
+ 
+ ```Swift
+ let keychain = KeychainSwift()
+keychain.set("hello world", forKey: "my key")
+keychain.get("my key")
+ ```
+ 
+ The Keychain library includes the following features: 
  
  * <a href="#usage">Get/set string, boolean and NSData Keychain items</a>.
  * <a href="#keychain_item_access">Specify item access security level</a>.