Re: Core data, bindings and multiple view NIB

2009-05-28 Thread Tomaž Kragelj
Ok, I see. The main thing is that now it works and I can setup the bindings in IB instead of programatically which is another bonus... Thanks for all the information, Tom On 28.5.2009, at 16:23, Keary Suska wrote: On May 27, 2009, at 10:07 PM, Tomaž Kragelj wrote: Thanks Keary, this works,

Re: Core data, bindings and multiple view NIB

2009-05-28 Thread Keary Suska
On May 27, 2009, at 10:07 PM, Tomaž Kragelj wrote: Thanks Keary, this works, however it requires that the same binding is repeated in each nib where the same list should be handled (some views may only need to show it while others can also modify it). I was thinking of creating a "master" s

Re: Core data, bindings and multiple view NIB

2009-05-27 Thread Tomaž Kragelj
Thanks Keary, this works, however it requires that the same binding is repeated in each nib where the same list should be handled (some views may only need to show it while others can also modify it). I was thinking of creating a "master" set of controllers in the main nib, then bind the "s

Re: Core data, bindings and multiple view NIB

2009-05-27 Thread Keary Suska
On May 27, 2009, at 12:30 AM, Tomaž Kragelj wrote: GroupItemsController: - managed object context -> Application.delegate.managedObjectContext - ??? The question marks are what I'm missing - if I don't bind to anything, then the array controller will simply show all items for all groups, how

Re: Core data, bindings and multiple view NIB

2009-05-26 Thread Tomaž Kragelj
How are you binding the "item" array controller? It has to be bound to the group list array controller or to a property of the app delegate that depends on its selection. In MainMenu.nib the two array controllers are bound: GroupsController: - managed object context -> AppController.managedO