-3

I'm trying to build a swift app that would allow a user on one side to draw an image that will be updated in nearly real time on the other user's device, somewhat as if they were drawing on a whiteboard in person.

Anyone have any tips or places where I should start? I'm relatively new to swift. Thanks for your help.

2 Answers2

1

This requires a persistent line of communication between your mobile device(s) and your server. Websockets allow this type of communication. I haven't implemented them myself so I can't provide implementation details, but there are plenty of resources available online.

Sockets with Swift

Websockets Tutorial

Community
  • 1
  • 1
toddg
  • 2,863
  • 2
  • 18
  • 33
0

I think Realm is exactly what you are looking for.

Real time collaboration in as little as 10 lines of code

Bhuvan Bhatt
  • 3,276
  • 2
  • 18
  • 23