Explorar o código

Update README.md

Evgenii Neumerzhitckii %!s(int64=9) %!d(string=hai) anos
pai
achega
26ebdec400
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  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>.