Updating table rows with bindings

2008-07-31 Thread James W. Walker
When an NSTableView is set up with bindings and NSArrayController, what is the right way to modify a row? I see NSArrayController methods to add and remove objects, but nothing to modify one. I guess I could remove and then add, but that seems ugly. Before I started with bindings, it

Re: Updating table rows with bindings

2008-07-31 Thread Keary Suska
7/31/08 1:00 AM, also sprach [EMAIL PROTECTED]: When an NSTableView is set up with bindings and NSArrayController, what is the right way to modify a row? I see NSArrayController methods to add and remove objects, but nothing to modify one. I guess I could remove and then add, but that seems

Re: Updating table rows with bindings

2008-07-31 Thread James W. Walker
On Jul 31, 2008, at 8:21 AM, Keary Suska wrote: If [[ arrayController arrangedObjects] objectAtIndex: i ] I returning an immutable object, it's because that is what you are putting into arrayController 's content array. Use mutable dictionaries instead. I was mistaken, it is mutable. I