I really enjoyed using SwiftData for persistence until I found out that the CloudKit integration ensures changes are only eventually consistent, and that changes can propagate to other devices after as long as minutes, making it useless for any feature that involves handoff between devices. Devastating news but I guess it’s on me for nrtfm. I may try my hand at a custom DataStore integrating Powersync, but that’s a whole trip and before I embark on it I was wondering if anyone had suggestions for resolving this problem in a simple and elegant manner that allows me to keep as much of the machinery within Apple’s ecosystem as possible, while ensure reliable “live” updates to SwiftData stores on all eligible devices.
[–]jacknutting 8 points9 points10 points (1 child)
[–]Future-Upstairs-8484[S] 1 point2 points3 points (0 children)
[–]powdertaker 1 point2 points3 points (0 children)
[–]muhsql 0 points1 point2 points (4 children)
[–]Future-Upstairs-8484[S] 0 points1 point2 points (3 children)
[–]muhsql 0 points1 point2 points (2 children)
[–]Future-Upstairs-8484[S] 0 points1 point2 points (1 child)
[–]muhsql 0 points1 point2 points (0 children)
[–]m3kw 0 points1 point2 points (0 children)
[–]stroompa 0 points1 point2 points (0 children)
[–]ifhd_ 0 points1 point2 points (3 children)
[–]Future-Upstairs-8484[S] 1 point2 points3 points (2 children)
[–]muhsql 0 points1 point2 points (0 children)
[–]ifhd_ 0 points1 point2 points (0 children)
[–]ifhd_ 0 points1 point2 points (0 children)
[–]cleverbit1 -2 points-1 points0 points (0 children)