Evgenii Neumerzhitckii пре 9 година
родитељ
комит
26ebdec400
1 измењених фајлова са 9 додато и 1 уклоњено
  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>.