Re: Replacing model objects using an NSArrayController

2010-02-12 Thread William Peters
On Feb 11, 2010, at 10:33 PM, Quincey Morris wrote: > There isn't a "replace" method for an array controller. If you must do it as > a single operation, then solution would be to fetch the original object at > the end of editing, update its properties to match the (edited) properties of > the c

Re: Replacing model objects using an NSArrayController

2010-02-11 Thread Quincey Morris
On Feb 11, 2010, at 20:33, William Peters wrote: > My application contains several records displayed to the user in an > NSTableView bound to an NSArrayController. Because these records are > complicated (containing around thirty fields), I have implemented an Edit > option where the user can s

Replacing model objects using an NSArrayController

2010-02-11 Thread William Peters
Hello everyone, I'm a bit of a newbie here, but hopefully this question won't be too annoying. :-) My application contains several records displayed to the user in an NSTableView bound to an NSArrayController. Because these records are complicated (containing around thirty fields), I have impl