Supporting other cloud services #117

Closed
opened 2025-12-29 15:24:51 +01:00 by adam · 2 comments
Owner

Originally created by @tosbaha on GitHub (Dec 31, 2016).

Hi,
Besides iCloud, is it possible to use other cloud services like Dropbox,Google or our own server(JSON result) to sync the core data? Where should I look in the code to support syncing with my own server? If there is a way to use protocols or some kind of sub classing it will be better than changing multiple places. I think it could be super cool to add some kind of protocol so that people can add plugins to CoreStore to support different cloud services.

Originally created by @tosbaha on GitHub (Dec 31, 2016). Hi, Besides iCloud, is it possible to use other cloud services like Dropbox,Google or our own server(JSON result) to sync the core data? Where should I look in the code to support syncing with my own server? If there is a way to use protocols or some kind of sub classing it will be better than changing multiple places. I think it could be super cool to add some kind of protocol so that people can add plugins to CoreStore to support different cloud services.
adam closed this issue 2025-12-29 15:24:51 +01:00
Author
Owner

@JohnEstropia commented on GitHub (Jan 4, 2017):

There is currently no built-in mechanism for file syncing in CoreStore so you will have to implement your own if you are using services like Dropbox or Google, but to be honest that sounds difficult (Ensembles is good at this, but I doubt there will be a way to mix it with CoreStore)

If you have your own server, however, you can use the ImportableObject and ImportableUniqueObject objects to map your JSON responses. See https://github.com/JohnEstropia/CoreStore#importing-data

@JohnEstropia commented on GitHub (Jan 4, 2017): There is currently no built-in mechanism for file syncing in CoreStore so you will have to implement your own if you are using services like Dropbox or Google, but to be honest that sounds difficult ([Ensembles](http://www.ensembles.io/) is good at this, but I doubt there will be a way to mix it with CoreStore) If you have your own server, however, you can use the `ImportableObject` and `ImportableUniqueObject` objects to map your JSON responses. See https://github.com/JohnEstropia/CoreStore#importing-data
Author
Owner

@tosbaha commented on GitHub (Jan 4, 2017):

Thanks for your quick response. Yes I have my own server and ImportableObject and ImportableUniqueObject seem like a good starting point. 👍

@tosbaha commented on GitHub (Jan 4, 2017): Thanks for your quick response. Yes I have my own server and `ImportableObject` and `ImportableUniqueObject` seem like a good starting point. 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#117