Permalink
Browse files

Updated README.md

  • Loading branch information...
1 parent d2b449c commit 6539ff1105cbfca47431b36709b29feefd949f49 @granoff committed Jan 26, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
@@ -15,7 +15,7 @@ The thing to realize is that data stored in `NSUserDefaults` is stored in the cl
Surprisingly, new and experienced app developers alike often do not realize this, until it's too late.
-The Lockbox class methods make it easy to store and retrieve `NSString`s, `NSArray`s, and `NSSet`s into and from the key chain. You are spared having to deal with the keychain APIs directly!
+The Lockbox class methods make it easy to store and retrieve `NSString`s, `NSArray`s, `NSSet`s, and `NSDate`s into and from the key chain. You are spared having to deal with the keychain APIs directly!
One caveat here is that the keychain is really not meant to store large chunks of data, so don't try and store a huge array of data with these APIs simply because you want it secure. In this case, consider alternative encryption techniques.
@@ -32,6 +32,9 @@ There are three pairs of methods, but method pairs for other container classes w
+ `+setSet:forKey:`
+ `+setSet:forKey:accessibility:`
+ `+setForKey:`
++ `+setDateForKey:`
++ `+setDateForKey:accessibility:`
++ `+dateForKey:`
All the `setXxx` methods return `BOOL`, indicating if the keychain operation succeeded or failed. The `xxxForKey` methods return a non-`nil` value on success, or `nil` on failure.

0 comments on commit 6539ff1

Please sign in to comment.