Re: Core Data for managing subtree?

2008-04-17 Thread Hamish Allan
On Wed, Apr 16, 2008 at 2:31 AM, Hamish Allan [EMAIL PROTECTED] wrote: How can I make the tree controller observe changes to this children key? Is it failing because the key value does not exist in its own right, but is bound to another? FYI, I tracked this down to a bug in

Re: Core Data for managing subtree?

2008-04-15 Thread Hamish Allan
Further info (sorry for the reply to myself): Having taken approach (2), if I dump [myTreeController contents], they are ostensibly correct (e.g. having added a couple of items): 2008-04-16 01:56:55.558 Test[4187:10b] content ( { children = ( ItemMO: 0x1c3230

re: Core Data for managing subtree?

2008-04-13 Thread Ben Trumbull
At 6:13 PM -0700 4/8/08, [EMAIL PROTECTED] wrote: However, I would like to use Core Data to manage these items. I figure I could have my add and remove methods insert and remove objects from the managed object context as well as the KVO-compliant mutable array, but when I undo such an action,