简体   繁体   English

iCloud + Core Data的替代方案,用于在iOS和OS X之间同步数据

[英]Alternatives to iCloud + Core Data to sync data between iOS and OS X

I'm developing an application for iOS/OS X and i want to sync data between them. 我正在开发iOS / OS X的应用程序,我想在它们之间同步数据。 for now I use Core Data for persistent data. 现在我将Core Data用于持久数据。 I read that iCloud is not enough mature to use with core data. 我读到iCloud还不够成熟,不能用于核心数据。

  1. Is that true ? 真的吗 ?

so i try to use the new DropBox sync API(to sync the SQLite file), but there's no support for OS X. 所以我尝试使用新的DropBox同步API(同步SQLite文件),但不支持OS X.

  1. Is Parse SDK a good idea? Parse SDK是个好主意吗? (it will also allow me to add Android support) (它还允许我添加Android支持)
  2. If no, have you other solution? 如果没有,请你有其他解决方案吗?

Thank you. 谢谢。

i read that icloud is not enough mature to use with core data. 我读到icloud还不够成熟,不能用于核心数据。

is that true ? 真的吗 ?

Yes, I've worked with it quite a bit but I cannot recommend it at present. 是的,我已经使用了很多但我目前无法推荐它。

so i try to use the new dropBox sync API(to sync the sqlite file), but there's no support for mac. 所以我尝试使用新的dropBox同步API(同步sqlite文件),但不支持mac。

  1. is parse sdk a good idea (that will allow me to add android support)? 是解析sdk一个好主意(这将允许我添加Android支持)?
  2. if no, have you other solution ? 如果没有,你有其他解决方案吗?

Parse has a good reputation. Parse有很好的声誉。 There's an open source project called FTASync that integrates it with Core Data. 有一个名为FTASync的开源项目,它将它与Core Data集成在一起。

Some other options: 其他一些选择:

  • TICoreDataSync , which syncs via Dropbox but lets you use Core Data TICoreDataSync ,通过Dropbox同步,但允许您使用Core Data
  • WasabiSync , a third-party project that syncs Core Data via their own servers. WasabiSync ,一个通过自己的服务器同步Core Data的第三方项目。
  • Simperium , another one like Wasabi, syncing Core Data via their own servers. Simperium ,另一个像Wasabi,通过他们自己的服务器同步Core Data。

At present I don't have enough experience with any of these to endorse them. 目前,我没有足够的经验来支持他们。 They're all designed to sync Core Data outside of iCloud but I can't say which works best. 它们都是为了在iCloud之外同步Core Data而设计的,但我不能说哪种方法效果最好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM