serves as a wrapper for
, a persistent key-value store available only on iOS.
Get the current value for a key in
Set one or more values in
static watchKeys(keys, callback)
Subscribe to be notified when the value for any of the keys specified by the
keys array changes in
NSUserDefaults. Returns a
watchId number that may be used with
clearWatch() to unsubscribe.
watchId is the number returned by
watchKeys() when the subscription was originally configured.