Fwd: Keeping a SQLite store in sync (solved)
Fwd: Keeping a SQLite store in sync (solved)
- Subject: Fwd: Keeping a SQLite store in sync (solved)
- From: Kimo <email@hidden>
- Date: Thu, 13 Dec 2007 22:20:35 -0800
Never Mind - I found that the "writer" app had not fully quit prior to
displaying the "displayer" app window.
Begin forwarded message:
From: Kimo <email@hidden>
Date: December 13, 2007 8:21:25 PM PST
To: Cocoa Developers <email@hidden>
Subject: Keeping a SQLite store in sync
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