Static NSUserDefaultsDidChangeNotification

Source
pub unsafe static NSUserDefaultsDidChangeNotification: &'static NSNotificationName
Available on crate features NSNotification and NSString and NSUserDefaults only.
Expand description

NSUserDefaultsDidChangeNotification is posted whenever any user defaults changed within the current process, but is not posted when ubiquitous defaults change, or when an outside process changes defaults. Using key-value observing to register observers for the specific keys of interest will inform you of all updates, regardless of where they’re from.

See also Apple’s documentation