re: Key value observing NSManagedObjects

2008-02-21 Thread Ben Trumbull
I'd like to key-value observe a property of an NSManagedObject. I tried to register an observer (in the init: method of my app's controller) using "addObserver:forKeyPath:options:" but it doesn't work because the observation is lost as my object gets dealloc'ed soon after I register as an observ

Key value observing NSManagedObjects

2008-02-21 Thread Martin
Hi, I'd like to key-value observe a property of an NSManagedObject. I tried to register an observer (in the init: method of my app's controller) using "addObserver:forKeyPath:options:" but it doesn't work because the observation is lost as my object gets dealloc'ed soon after I register a