Re: NSArrayController "Auto Rearrange Content" causes "Cannot remove an observer for key path" error

2009-06-26 Thread Tristan Celder
On 26 Jun 2009, at 10:34, Tristan Celder wrote: Hey Steve, Thanks for your reply. Yeah, that's exactly it... the interface just falls apart after the exception is raised. The workaround I ended up using in the end was calling arrangeObjects manually and turning off auto arrange content

Re: NSArrayController "Auto Rearrange Content" causes "Cannot remove an observer for key path" error

2009-06-26 Thread Tristan Celder
Hey Steve, Thanks for your reply. Yeah, that's exactly it... the interface just falls apart after the exception is raised. The workaround I ended up using in the end was calling arrangeObjects manually and turning off auto arrange content completely. Not ideal, but it works... Cheers, Tri

NSArrayController "Auto Rearrange Content" causes "Cannot remove an observer for key path" error

2009-06-25 Thread Tristan Celder
Hi, I've been fighting an issue for some time now which seems to rear its head when I set Auto Rearrange Content to true on an NSArrayController. Whenever I do this it seems to throw a 'Can't remove an observer for key path "x". It always occurs when I am trying to access a relationship

Fixing logged error that doesn't throw exception

2009-06-25 Thread Tristan Celder
Hi, I'm extremely new to Cocoa programming but have come across a problem where I am getting a [NSConcreteAttributedString initWithString:] called with nil string argument. pop up in my console. I have had it once before and managed to track it down to a NumberFormatter with no symbols se