• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Keeping a SQLite store in sync
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Fwd: Keeping a SQLite store in sync (solved)
      • From: Kimo <email@hidden>
  • Prev by Date: Solved: Creating Smaller PDFs.
  • Next by Date: Efficient hierarchical menu from path?
  • Previous by thread: Solved: Creating Smaller PDFs.
  • Next by thread: Fwd: Keeping a SQLite store in sync (solved)
  • Index(es):
    • Date
    • Thread