Real time collaboration app

Good day, this is a concept maybe newbie question… what would be the best approach to develop the real time app… what I want is to be able to connect one device to other one within the app, and for example, if the app has a draggable object, then if one user drags the object, the other user see the object moving in real time I his own device, maybe using a ghost mode when interacting… this way both users using the app can interact with the objects in real-time. It’s not a game, so there’s no score… could I use gamecenter? or multipeer connectivity over BT? Is there a native framework?

wich would be the easiest and less battery and system consuming approach someone could suggest?

thank you in advance….

Answered by DTS Engineer in 835202022

Doing this without server infrastructure sounds like it’d be harder, but whether it is actually harder depends on your ultimate goals. For example, if you’re creating a toy app then a peer-to-peer approach is easy, but it rapidly loses that advantage once you start worrying about privacy and security.

Anyway, I’ve recently spent some time writing up my advice on this topic . It’s aimed at folks who are moving off Multipeer Connectivity, but most of the advice applies to folks, like you, who are writing new code. Please have a read through and then post back here with your follow-up questions.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Written by polo.in magazine in 780819021
multipeer connectivity over BT?

Multipeer Connectivity hasn’t work over Bluetooth for… gosh… about a decade now. Rather, it uses Wi-Fi, supporting both infrastructure and peer-to-peer Wi-Fi.

The fundamental question here is whether you want users to be able to collaborate over the wider Internet. If so, you’ll need some sort of server infrastructure. OTOH, if you only want to support collaboration locally, you can investigate peer-to-peer solutions.

So, which is it?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you for your kind reply... I just want to do it locally, it's my first time with it and I don't want to mess with something that sound harder than locally... so, the best would be wi-fi peer to peer, am I right?

Doing this without server infrastructure sounds like it’d be harder, but whether it is actually harder depends on your ultimate goals. For example, if you’re creating a toy app then a peer-to-peer approach is easy, but it rapidly loses that advantage once you start worrying about privacy and security.

Anyway, I’ve recently spent some time writing up my advice on this topic . It’s aimed at folks who are moving off Multipeer Connectivity, but most of the advice applies to folks, like you, who are writing new code. Please have a read through and then post back here with your follow-up questions.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Real time collaboration app
 
 
Q