开发者

Sending data from mac to ios

I wrote a simple cocoa application that u开发者_高级运维pdates some stuff. Now I would like to send this updated data to any ios device. What's the best way for me to do that? Is diving into low level stuff such as socket and NSStream and such my only option?


NSStream is generally the way to go, with device discovery through NSNetService/NSNetServiceBrowser (Bonjour). But a library like MYNetwork might be better suited if you’ve never dealt with NSStream before. I’d suggest you try out something like MYNetwork to see if it does what you want before diving into NSStream/Bonjour.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜