cocoamacosnsuserdefaults

Observe any change to sharedUserDefaultsController values


is there any way to observe any change to [NSUserDefaultsController sharedUserDefaultsController]?

I know I can observe a single value but I'd rather consolidate all these individual observers into one.


Solution

  • You can observe the NSUserDefaultsDidChangeNotification notification.