Hello list.

I need help with a problem I suspect being a Core Data / Bindings hickup :

My model consists of an abstract entity A and an entity B, with A being B's 
parent. Each entity is managed by it's own NSArrayController (mode set to 
Entity and correctly bound to the context), and each NSArrayController is bound 
to a NSTableView to show me what is going on.

Now When I create a B object (using it's NSArrayController's add: function), it 
shows up correctly in the according table view but *sometimes* - impossible to 
say exactly when or how often - the corresponding A object does NOT show up. It 
does so ONLY when I move the mouse in either one of the views. How strange is 
that!

I created an observer for the managedObjectContext to see what is going on, and 
this one too is NOT being fired after the add: UNLESS the mouse enters one of 
the aforementioned views.

I tried to processPendingChanges in all kinds of places in my code, to no 
avail. I tried to programatically change the selection of the array controllers 
after each add:, to no avail.

Google doesn't seem to be my friend on this one, any ideas what I am missing ?

Thanks !
Alain
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to