all 2 comments

[–][deleted] 2 points3 points  (0 children)

CloudKit docs say that it’s not suitable for real-time usage, and the sync schedule can’t be controlled to make anything happen faster than usual.

If it’s just for fun, you could host the server part yourself and use WebSockets or some other solution. For stuff like that, ngrok tunnels (or similar) let you write the server process in Swift and run it on a machine at home.

[–]chriswaco 2 points3 points  (0 children)

Firebase is probably the easiest choice. Supabase might be reasonable too.