& quot;使用iCloud的核心数据"与"iCloud核心数据" [英] "Core Data with iCloud" vs "iCloud Core Data"

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

问题描述

我的问题是:如何找到有关使用iCloud的核心数据"的更多信息?找不到太多的"iCloud核心数据"?

My question is: how do I find more information about "Core Data with iCloud" without finding too much "iCloud Core 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服务构建的不同功能,并且我相信该功能基于整个核心数据存储在设备之间的整体同步.通过iCloud收集数据"显然还在继续.

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" ?

推荐答案

我认为这就是您正在寻找的

I think this is what you are looking for Incorporating iCloud with CoreData

基本上,您的应用程序中有一个CoreData存储,启用iCloud可以使它在设备之间保持同步,而您的应用程序无需直接与CloudKit通信.

Basically you have a CoreData store in your app and enabling iCloud can keep it synced across devices without your app needing to directly communicate with CloudKit.

我认为"iCloud核心数据"是指使用CloudKit作为数据存储,这并不可怕,但并不像使用CoreData那样简单.

I think the "iCloud Core Data" refers to using CloudKit as the data store which isn't horrible but it's not as easy as simply using CoreData.

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

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