TIL

CloudKit

Libraries

Syncing data with CloudKit in your iOS app using CKSyncEngine and Swift

Historically, it’s been hard to get started with. The learning curve is higher than most frameworks, making the barrier to entry a non-starter for many developers. But today, I’m here to help anyone who wants to figure out how sync works in iOS apps. With the new CKSyncEngine, it’s much, much easier to implement. Apple is dogfooding it too — both Freeform and NSUbiquitousKeyValueStore use it.

Embracing CloudKitg

8-part series on using CloudKit with examples.

Michael Tsai - Blog - CloudKit and the iCloud Drive Switch

There is one major platform limitation I’ve run into: when you disable iCloud Drive, this also disables iCloud (CloudKit) access to apps like Tact, even though the UI indicates otherwise.

Getting Started With NSPersistentCloudKitContainer

What is it like to sync data from Core Data to iCloud using Apple’s new NSPersistentCloudKitContainer? Here I provide an example project and walkthrough for saving and syncing a single Core Data Entity with CloudKit using this new class.

Apple’s New CloudKit-Based Core Data Sync - Drew McCormack

iCloudCoreDataStarter and Temporary IDs Bug - mjtsai

General Findings About NSPersistentCloudKitContainer

Michael Tsai - Blog - NSPersistentCloudKitContainer in 2022

What Advanced Data Protection for iCloud means for Tact and other apps that use CloudKit

CloudKit Console Act As iCloud Account

Michael Tsai - Blog - CloudSyncSession