Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
Appreciate the comprehensive reply there Quincey. My new post 'crossed over' with my receipt of your response, so I didn't have a change to read your notes before I posted my update - but the long and the short of it is that I've now fixed my problem but was still fishing for the 'why'. I infer f

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Quincey Morris
On Mar 17, 2011, at 22:25, Luke Evans wrote: > In my original code, my picker window was initialised with its own > NSArrayController driving the 'selected items' list (a single column > NSTableView) in the following way: > > [selectedItems bind:@"contentSet" toObject:multiPickerCell withKeyPath:

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
OK I have fix, and now want to properly understand the difference between the working and non-working cases. In my original code, my picker window was initialised with its own NSArrayController driving the 'selected items' list (a single column NSTableView) in the following way: [selectedItems bi

Re: Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Quincey Morris
On Mar 17, 2011, at 11:01, Luke Evans wrote: > The column for Territories in the master SalesRep table is bound so that > cell values should be the relationship set. I'm not sure I can nail the problem down exactly, since your setup is fairly complex, but I'm pretty sure the above is the cause o

Another bindings conundrum (editing a to-many relationship through an NSArrayController)

2011-03-17 Thread Luke Evans
After a hiatus from Cocoa bindings, I'm back trying to create the following kind of UI on top of a Core Data model: - A master table of SalesRep entities, which have a name, manager and importantly a to-many relationship to Territories - An NSTextFieldCell subclass for this Territories property wit