Hi again!

I'd like to change the place of a NSManagedObject stored in a NSArrayController 
in entity mode (after a drag'n drop operation). I didn't find any suitable 
primitive, so I decided to go something like "removeAtSomeIndex" and then 
immediately after "insertAtSomeOtherIndex".

However, it does not work: it seems as soon as an object is removed from the 
array, core data is told to unlink it, so, at the end of the permutation, I end 
up with an array full of object that get removed in core data at a later point, 
and after a while I get faults with non-existent objects.

Is there any trick to solve this knot?

Thanks a lot,
Vincent_______________________________________________

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 arch...@mail-archive.com

Reply via email to