iOS 将核心数据保存到服务器/云端
我在我们的 iOS 通用应用程序中使用核心数据,并希望用户能够将其数据备份到我们的服务器。因此他们可以使用另一台设备登录并将该数据拉取到该设备。有人对此有什么建议吗?我想分析服务器上的数据,以便与我们的商店同步信息,因此数据也必须可以通过服务器端读取。
我想一次性发送整个核心数据存储,因此核心数据存储中的实体的 XML 混搭将在检索时进行解密。
我该怎么做?
I'm using core data in our iOS universal application and want the ability for the user to back their data up to our server. So they can log in with another device and pull down that data to that device. Has anyone got any advice on this? I want to analyse the data at the server to synchronise information with our stores as well, so the data must be readable via the server end as well.
I want to send the entire core data store over in one push, so will be an XML mashup of entities from the core data store that will be deciphered on retrieval.
How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
已使用 GDataxml 构建 xml 字符串并通过服务器端的 Web 服务推送它来完成此操作。性能很棒。
Have accomplished this using GDataxml to build the xml string and push it through a web service at the server end. Performance is great.
您在这里复制了一些 iCloud 功能。为什么不将云存储和检索留给 iCloud,然后在应用程序启动时与您的服务器同步
Your duplicating some iCloud functionality here. Why not leave the cloud storage and retrieval to iCloud and then when the app starts, synchronise with your server