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.
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)
@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
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. 👍
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
@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
ImportableObjectandImportableUniqueObjectobjects to map your JSON responses. See https://github.com/JohnEstropia/CoreStore#importing-data@tosbaha commented on GitHub (Jan 4, 2017):
Thanks for your quick response. Yes I have my own server and
ImportableObjectandImportableUniqueObjectseem like a good starting point. 👍