uld be kinda weird to get "Object is not
reachable from this managed object context" error if I had only one
MOC. I am actually rewriting the sync portion of the app to do the
save on the main thread following the strong discouragement from the
docs and this forum regarding backg
It looks to me like you are sharing one MOC between two threads (the
web service update worker thread and the main thread). You need two
MOC's. Write from the worker thread to the worker thread's MOC, then
tell the main thread to refresh.
Hal
__
[Object is not reachable from this
managed object context]. In the following code, saveComplete is the
handler for NSManagedObjectContextDidSaveNotification.
-(void)saveComplete:(NSNotification *)notification{
[self performSelectorOnMainThread:@selector(saveOnMain:)
withObject:notification