Re: Mutable to-many relationship not observable

2011-01-17 Thread Remco Poelstra
Op 15-1-2011 9:19, Ken Thomases schreef: Which will/didChange... methods do you use, when you've tested the manual notifications? Also, what does your -observeValueForKeyPath:ofObject:change:context: method look like? My suspicion is that you're using will/didChangeValueForKey: and your obse

Re: Mutable to-many relationship not observable

2011-01-15 Thread Ken Thomases
On Jan 14, 2011, at 5:23 AM, Remco Poelstra wrote: > I add the observer as follows: > [[DigiDevicesManager sharedDigiDevicesManager] addObserver:self > forKeyPath:@"digiDevices" options:NSKeyValueObservingOptionOld context:nil]; > It's superclass is NSObject and I did not disable automatic

Re: Mutable to-many relationship not observable

2011-01-14 Thread Remco Poelstra
Hi, I add the observer as follows: [[DigiDevicesManager sharedDigiDevicesManager] addObserver:self forKeyPath:@"digiDevices" options:NSKeyValueObservingOptionOld context:nil]; It's superclass is NSObject and I did not disable automatic notifications. If mutate the array (from inside the

Re: Mutable to-many relationship not observable

2011-01-14 Thread Mike Abdullah
Show us your code that adds the observer. Also, what is the superclass of this class? On 14 Jan 2011, at 10:45, Remco Poelstra wrote: > Hi, > > I've a property digiDevices that's a to-many relationship. I've implemented > the value write accesors (in addition to the read ones, which behave per