diff --git a/README.md b/README.md index 9a942cd..370a658 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,10 @@ For transactions generated in the backend context, the backend context should al allAuthors: ["appAuthor", "extensionAuthor", "appBatchAuthor"], ``` +### includingCloudKitMirroring + +Whether or not to merge network data imported by Core Data with CloudKit, is only used in scenarios where the Core Data cloud sync state needs to be switched in real time. See [Toggling Core Data's cloud sync state in real time](https://www.fatbobman.com/posts/real-time-switching-of-cloud-syncs-status/) for details on usage + ### batchAuthors Some authors (such as background contexts for batch changes) only create transactions and do not merge and clean up transactions generated by other authors. You can speed up the cleanup of such transactions by setting them in batchAuthors. diff --git a/READMECN.md b/READMECN.md index fc8948a..329b17d 100644 --- a/READMECN.md +++ b/READMECN.md @@ -83,6 +83,10 @@ allAuthors: ["appAuthor", "extensionAuthor"], allAuthors: ["appAuthor", "extensionAuthor", "appBatchAuthor"], ``` +### includingCloudKitMirroring + +是否合并由 Core Data with CloudKit 导入的网络数据,仅用于需要实时切换 Core Data 云同步状态的场景。具体用法请参阅 [实时切换 Core Data 的云同步状态](https://www.fatbobman.com/posts/real-time-switching-of-cloud-syncs-status/) + ### batchAuthors 某些 author(例如用于批量更改的后台上下文)只会创建事务,并不会对其他 author 的产生事务进行合并和清理。通过将其设置在 batchAuthors 中,可以加速该类事务的清理。