“使用iCloud的核心数据” vs“iCloud核心数据” [英] "Core Data with iCloud" vs "iCloud Core Data"

查看:144
本文介绍了“使用iCloud的核心数据” vs“iCloud核心数据”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是:如何在没有找到太多iCloud Cord数据的情况下找到有关使用iCloud的核心数据的更多信息?

My question is: how do I find more information about "Core Data with iCloud" without finding too much "iCloud Cord Data"?

这两件事命名非常相似,这使得很难找到关于一个的信息而又找不到另一个。

These two things are named very similarly, which makes it very hard to find information about one without also finding the other.

当我说iCloud Core Data时,我指的是那个功能。最近在iOS10中被弃用了。 iCloud核心数据涉及具有无处不在选项的核心数据存储,这意味着使用iCloud在各种设备上同步个别记录更新。

When I say "iCloud Core Data", I am referring to the functionality that has been recently deprecated in iOS10. "iCloud Core Data" involved Core Data stores with ubiquity options, which meant that individual records updates were synchronized using iCloud across various devices.

当我说使用iCloud的核心数据时,我的意思是建立在iCloud Drive服务上的不同功能,我相信这是基于从设备到设备同步整个Core Data存储。 使用iCloud的Cord数据显然还在继续。

When I say "Core Data with iCloud", I mean a different functionality that is built on the iCloud Drive service and I believe is based on synchronizing a Core Data store as a whole from device to device. "Cord Data with iCloud" apparently is continuing.

Apple区分两者:
仅弃用客户端Core Data iCloud API符号。使用iCloud的核心数据建立在iCloud Drive服务之上。

Apple differentiates the two: Only the client Core Data iCloud API symbols are deprecated. Core Data with iCloud is built on top of the iCloud Drive service.

任何人都可以帮助指出一些关于较新的使用iCloud的核心数据的文档吗?

Can anyone help point out some documentation about the newer "Core Data with iCloud" ?

推荐答案

没有系统可以通过iCloud跨设备同步整个Core Data持久存储文件。他们将现已弃用的iCloud支持构建到Core Data中的原因是因为同步文档文件不起作用。这样做或多或少会保证丢失数据,损坏文件或两者兼而有之。

There's no system for synchronizing the entire Core Data persistent store file across devices via iCloud. The reason they built the now-deprecated iCloud support into Core Data is because synchronizing the document file doesn't work. Doing so is more or less guaranteed to lose data, corrupt the file, or both.

使用CloudKit有时也被称为使用iCloud,这很不幸,因为它会混淆两种不同的东西。

Using CloudKit is sometimes referred to as using iCloud, which is unfortunate since it confuses two different things.

如果您想在不使用CloudKit的情况下跨设备同步Core Data,请查看 Ensembles 。它在概念上与旧的iCloud支持相同,但具有不同的实现,似乎有效。

If you want to synchronize Core Data across devices without using CloudKit, look into Ensembles. It's conceptually the same idea as the old iCloud support but with a different implementation that appears to work.

这篇关于“使用iCloud的核心数据” vs“iCloud核心数据”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆