Question

I am working on Core Data app which needs to sync data to various platforms including the web. Initially I started integrating Stackmob which seemed a fine candidate to handle this task. Now that Stackmob is apparently shutting down I'm looking for another BaaS framework/service as a replacement. Everyone is suggesting to use Parse.com but parse is an 'always online' service which does not support offline sync. The users of my app need to be able to use the app offline, and sync the cached data as soon as the device has internet connection.

Building my own syncing backend is not an option at this moment since I'm a small developer who has not the time nor the resources to do this. What are my options, are there any similar services which support offline sync for Core Data ?

note: I can't use iCloud since I want to sync to the web.

update: I stumbled upon Simperium which seems to do offline Core Data syncing. Anyone having any experience with this service ?

Était-ce utile?

La solution

I would suggest the Dropbox Datastore API. You can use the ParcelKit wrapper which allows you to use Core Data. This gives you everything you need: offline use, Core Data, and a Javascript API for your web component.

There is also Wasabi Sync, which is Core Data-native, and has a REST API for web use.

If you can drop the requirement for web, there are solutions like Ensembles and TICDS, which work with multiple backends (e.g. iCloud, Dropbox). (Disclosure: I develop Ensembles)

Autres conseils

There is an open source package called FTASync that syncs Parse with CoreData. I looked at using it, but it was too simplistic for my app. Although I am a lone developer like you I took on the task of modifying FTASync into what I need. I have it pretty much finished now and it is very different from FTASync. If FTASync is not sufficient for you, contact me privately and perhaps we can work something out.

-Bob

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top