Browse Source

Update README.md

Kishikawa Katsumi 5 years ago
parent
commit
64bea50d15
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -179,7 +179,7 @@ do {
 
 ```swift
 let keychain = Keychain()
-let persistentRef = keychain[attributes: "kishikawakatsumi"].persistentRef
+let persistentRef = keychain[attributes: "kishikawakatsumi"]?.persistentRef
 ...
 ```
 
@@ -187,7 +187,7 @@ let persistentRef = keychain[attributes: "kishikawakatsumi"].persistentRef
 
 ```swift
 let keychain = Keychain()
-let creationDate = keychain[attributes: "kishikawakatsumi"].creationDate
+let creationDate = keychain[attributes: "kishikawakatsumi"]?.creationDate
 ...
 ```