Are there and SwiftUI examples for Core Data/Cloudkit Sharing

In the WWDC2021 talk on building apps that share data through CloudKit and Core Data there seems to be a lack of examples that use SwiftUI. Is there any place o find such examples or even a tutorial?

  • I've been searching deep and wide for this myself. No help out there on this.

Add a Comment

Replies

Hi, there are a number of new CloudKit samples in GitHub which use SwiftUI. Take a look here:

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

  • The repo linked doesn't address the OP's inquiry.

  • You are correct, it doesn't really answer the need. I'm guessing that the sharing capability wasn't tested with SwiftUI so we may need to wait for next years WWDC. I hope that isn't the case.

  • The next update in Donny Wals's Core Data book should have what we're looking for. According to him he's been working with this extensively. https://www.donnywals.com