Re: NSArrayController bound to @unionOfArrays not updating

2008-04-17 Thread Quincey Morris
On Apr 17, 2008, at 10:31, mmalc crawford wrote: On Apr 17, 2008, at 9:36 AM, Quincey Morris wrote: Just so I understand, should I surround calls to any of the standard KVC method calls (in my case, insertObject:atIndex:) with [self willChangeValueForKey:@"affectedKey"]; and [self didChan

Re: NSArrayController bound to @unionOfArrays not updating

2008-04-17 Thread mmalc crawford
On Apr 17, 2008, at 9:36 AM, Quincey Morris wrote: Just so I understand, should I surround calls to any of the standard KVC method calls (in my case, insertObject:atIndex:) with [self willChangeValueForKey:@"affectedKey"]; and [self didChangeValueForKey:@"affectedKey"] if the standard KVC

Re: NSArrayController bound to @unionOfArrays not updating

2008-04-17 Thread Quincey Morris
On Apr 17, 2008, at 01:42, William Towe wrote: Yep, that took care of it. Just so I understand, should I surround calls to any of the standard KVC method calls (in my case, insertObject:atIndex:) with [self willChangeValueForKey:@"affectedKey"]; and [self didChangeValueForKey:@"affected

Re: NSArrayController bound to @unionOfArrays not updating

2008-04-16 Thread Quincey Morris
On Apr 16, 2008, at 22:54, William Towe wrote: To achieve this I bound the table view's contentArray binding to controller key "selection" and model key path: "@unionOfArrays.allDescendantsNodes". The allDescendantNodes method in my file node class returns an array with all its descendants i

Re: NSArrayController bound to @unionOfArrays not updating

2008-04-16 Thread William Towe
Any suggestions anyone has are welcome, if you need more details about my setup I'll attempt to provide them, but I still haven't figured out why the insertion of new objects is updated in the outline view and not the table view. On Wed, Apr 16, 2008 at 5:48 PM, William Towe <[EMAIL PROTECTED]> wr

NSArrayController bound to @unionOfArrays not updating

2008-04-16 Thread William Towe
This is my first post to the list, I've been using it as a reference for quite some time and usually I can find a solution to my problems, but searching didn't turn anything up that applied to my current issue. So here's the gist of it: I'm working on an IDE for z80 calculator programmers, and hav