Re: How can be my application notified about user defaults changes?

2008-10-10 Thread Steven Riggs
Alexander, If you have a bunch of keys in your defaults, try only observing the specific key. Like this... - (void)awakeFromNib { //setup key observer here [[NSUserDefaults standardUserDefaults] addObserver:self forKeyPath:@"App

Re: How can be my application notified about user defaults changes?

2008-10-09 Thread chaitanya pandit
NSUserDefaultsDidChangeNotification On 09-Oct-08, at 5:51 PM, Alexander Shmelev wrote: Hello, My program UI depends on what measurement units are used. How can I get notification when "AppleMeasurementUnits" have been changed by "Preferences" application? Best regards, Alexander.

How can be my application notified about user defaults changes?

2008-10-09 Thread Alexander Shmelev
Hello, My program UI depends on what measurement units are used. How can I get notification when "AppleMeasurementUnits" have been changed by "Preferences" application? Best regards, Alexander. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pl