Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7758803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:27:34+00:00 2026-06-01T13:27:34+00:00

I have an app that has a bunch of Core Data that it needs

  • 0

I have an app that has a bunch of Core Data that it needs to sync. I am going to use Dropbox to sync a bunch of devices together, at least unless I can find a better solution. There are 4 main things that need to be synced: doctors, residents, and two different types of points (which are placed by the user on a graph). I don’t have any IDs attatched to these entities because I thought it would make it too difficult to sync. I was thinking of syncing them like this:

  • I make a plist with three sub-dictionaries called “add” and “delete”. Both (“add” and “delete”) have an array for each entity that I need synced (doctor, resident, points, etc).
  • Each time the user adds or deletes one of these things, I add a new dictionary to the appropriate array containing all the attributes and values of the attributes for that object that was added/deleted.
  • Edits (you can only edit points, not residents or doctors) to something will be recorded by adding the new, edited object, and deleting the old object. So the new object gets added to the appropriate “add” list and the old object gets added to the appropriate “delete” list
  • In Dropbox, each device that we are trying to sync has a folder. When it syncs, it uploads the plist file to it’s own device folder. It also does a backup of it’s own sql file by uploading it to a backup folder named with the date and time.
  • It then checks all of the other device’s folders and applies the changes in the plists found in those folders.
  • Once it is done applying all of the changes to it’s own local database and saving them, it uploads it’s sql file to a “newest” folder in dropbox.
  • If a device wants to reset it’s database, or a new device joins, it just downloads the sql file from the newest folder.

Any thoughts/ideas/suggestions?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:27:36+00:00Added an answer on June 1, 2026 at 1:27 pm

    I ended up using this model more or less but instead of a device checking all the other devices changesets, it checks a changeset in its own device folder that all the other device write to as they make changes. This way it is a lot easier to organize the changes chronologically. This model has worked well for anyone who is wondering.

    *note that i am answering my own question so that people know what i ended up doing and that it worked. sorry this wasnt really a question with a straight answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a core data based app that manages a bunch of entities. I'm
For an iPhone app that has to have a bunch of data inserted before
I have an app that has a TableView, NavigationView and TabBar running together. There
I have a Silverlight app that has a bunch of styles that are referenced
I have a Java app that use a bunch of JNI calls to execute
I have a data entry web app where the control that has focus is
I have an app that has a scrollview with a bunch of different textviews
I have a bunch of xib files that I use in my app's full
I have an express app that has a bunch of static javascript files that
I have an app that has a bunch of resources. Having read about javascript

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.