Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real Time Collaboration API for iOS Apps

Tags:

xcode

ios

swift

I need a way to share a JSON data between 2 users in iOS and Swift. Does anyone have any suggestions for a way to do this? Maybe an official Apple or Swift API?

Requirements:

  1. Easy to integrate with swift
  2. Not hosted on a personal server

Thanks.

like image 839
Marin Avatar asked Dec 28 '25 20:12

Marin


1 Answers

Apple offer the GroupActivities framework for that. During a Facetime call you can send custom data over the same connection for whiteboard apps with realtime collaboration. This year at WWDC 2022 they added a UDP tunnel for faster (but not guaranteed) data transfers and they also increased the packet size to 256KB. Here are some resources:

Videos:

Sample code:

  • Drawing Content in a Group Session Invite your friends to draw on a shared canvas while on a FaceTime call.
like image 67
malhal Avatar answered Dec 30 '25 16:12

malhal