Re: [CoreData] Background Insertion
Re: [CoreData] Background Insertion
- Subject: Re: [CoreData] Background Insertion
- From: Andrew Kimpton <email@hidden>
- Date: Mon, 4 Jun 2007 22:17:35 -0400
On Jun 4, 2007, at 7:09 PM, Dave Fernandes wrote:
If your main thread does not have unsaved changes, you can send a
reset message to the MOC, as in,
[moc reset];
Perhaps this points to a larger failure on my part (that I'm still
failing to understand) but sending reset to the MOC doesn't 'do
anything' either.
This will cause it to go back to the persistent store. If you have
unsaved changes, however, then I don't know what to do.
In this particular case I don't have any unsaved changes (and/or I
can engineer things so that I would never have anything pending when
these background updates/parsing and insertions occur).
Andrew 8-)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden