Settings
Settings serves as a wrapper for NSUserDefaults, a persistent key-value store available only on iOS.
Methods
Reference
Methods
+clearWatch()
+static clearWatch(watchId)
+
+watchId is the number returned by watchKeys() when the subscription was originally configured.
get()
static get(key)
@@ -95,11 +99,6 @@
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.
-
clearWatch()
-static clearWatch(watchId)
-
-watchId is the number returned by watchKeys() when the subscription was originally configured.