Hey! I am wonderin开发者_运维知识库g how for example some "to-do" apps sync info between mac and iOS apps? Do they use bonjour or something?
Thanks in advance!
They sync via a variety of methods, primarily implementing their proprietary solution (if not otherwise using iCloud and Core Data). Some use the Dropbox SDK, some use their own cloud servers, some use simpler document sharing and syncing via iCloud and so on.
Bonjour is only an option if you're on the same Wifi network - and even then it's unreliable as some routers need extra configuration to work with Bonjour. Bonjour is a bad idea in general as people are mostly out and about with their devices and expect their apps to sync back to the Mac without additional connectivity etc.
精彩评论