I find these sample projects quite valuable:
- https://developer.apple.com/documentation/widgetkit/emoji-rangers-supporting-live-activities-interactivity-and-animations
- https://developer.apple.com/documentation/coredata/sharing-core-data-objects-between-icloud-users .
Both use Swift 5, and it is not trivial to adopt Swift 6 with them.
Any plans to update them? What is best approach for adopting Swift 6 on such sample code?
Any plans to update them?
We can’t talk about The Future™. See tip 3 in Quinn’s Top Ten DevForums Tips. So, if you’d like to see this improve, I recommend that you file a bug against each of the samples.
Please post your bug numbers, just for the record.
What is best approach for adopting Swift 6 on such sample code?
I don’t think it makes sense to try to port the samples to Swift 6. There’s quite a substantial task. Rather, I think it’s better to extract the core concepts from those samples that are relevant to your app, and then adapt those concepts to Swift 6.
If you have questions about the specifics, I’d be happy to answer them.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"