diff -r d84d25d6cdbb -r 82a37ccf6b8c KVUtils.m --- a/KVUtils.m Sat Mar 08 21:04:41 2008 -0800 +++ b/KVUtils.m Tue May 20 17:40:28 2008 -0700 @@ -59,6 +59,7 @@ }@catch( NSException *x ) { Warn(@"Uncaught exception in -[%@<%p> %s] while observing change of key-path %@ in %@<%p>: %@", _target,_target, _action, _keyPath, _observed,_observed, x); + [NSApp reportException: x]; } } @@ -148,6 +149,12 @@ } +- (void) stopObserving: (id)observed +{ + [self stopObserving: observed keyPath: nil]; +} + + - (void) stopObserving: (id)observed keyPath: (NSString*)keyPath { // observed or keyPath may be nil