CoreData: Multiple Threads and Merging Object Contexts
CoreData: Multiple Threads and Merging Object Contexts
- Subject: CoreData: Multiple Threads and Merging Object Contexts
- From: Axel Katerbau <email@hidden>
- Date: Thu, 21 Jul 2005 12:55:24 +0000
- Organization: Objectpark Software
Hi,
we have the need for having more than one thread working on a set of
related data. The "main" thread for the user interface and a second
long running thread for getting new data from the net.
We use separate managed object contexts for each thread (as advised by
Chris Hanson). But how to avoid "could not merge changes" errors by
merging manually (merge policies do not work in our case)?
What good pratices do you suggest (e.g. how to merge, when to merge)?
Best regards,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden