SpyrosMet
SpyrosMet

Reputation: 31

How can I make an iOS app communicate with Mac server app counterpart?

as the title suggests I would like to make a connection between an iOS app and a Mac OS X app that will be the server. I just want to send simple encoded strings to and from the iOS app but I have searched for ways to communicate and nothing specific has shown up. Can you please point me to the right direction (e.g. documentation for a class to use)? An example if possible? Thank you very much in advance

Upvotes: 1

Views: 714

Answers (1)

Skyler Lauren
Skyler Lauren

Reputation: 3812

If your iOS device and Mac are going to be near each other you may want to look at this.

https://developer.apple.com/library/ios/documentation/MultipeerConnectivity/Reference/MultipeerConnectivityFramework/index.html

However there are some limitations on what Macs and iOS devices can use this so read carefully. Hopefully that helps.

Upvotes: 2

Related Questions