Keeping a SQLite store in sync
Keeping a SQLite store in sync
- Subject: Keeping a SQLite store in sync
- From: Kimo <email@hidden>
- Date: Thu, 13 Dec 2007 20:21:25 -0800
I have two Core Data apps, both use the same data model and SQLite
store. They never run at the same time. One is a "displayer" and it
displays the data, the other is a "writer" that writes the data to the
SQLite store. When the displayer app starts, it tells the writer app
to quit.
However, I have noticed that when the displayer app displays the data
after telling the writer to quit, the last few records of data written
by the writer don't display unless I quit and start the displayer app
again. It's as if the all the data hasn't been written yet by the
writer, and by the time I restart the displayer, all the data is
finally there. Is there a way to tell when all the data has been
written to the store, or some other action so that the displayer app
can display all the data?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden