New CloudKit APIs

Hi. I have heard that the CloudKit APIs should be ready for the new async and await pattern. In the demo app, I see completion handlers and completion blocks.

Also, I have an app that needs to use the share DB and it is quite confusing and messy how different caches are handled. I was hoping for a more straightforward API.

Is any chance that we can see an updated demo of how to use the shared database in a list?

Replies

Take a look at the swift-concurrency branches in the GitHub samples:

https://github.com/apple?q=cloudkit-sample&type=repository

That should help you move forward with the new APIs