Re: iOS app communicating with macOS app
Re: iOS app communicating with macOS app
- Subject: Re: iOS app communicating with macOS app
- From: James Crate <email@hidden>
- Date: Wed, 28 Sep 2016 11:44:53 -0400
On Sep 28, 2016, at 8:57 AM, Eric E. Dolecki <email@hidden> wrote:
>
> I'd like to make an iOS application communicate with a macOS application.
> No App Store involvement - just to prototype something local. What would be
> the best approach/easiest solution? A GameKit type thing or something else
> like BLE or something maybe even easier? Would only need to send small
> strings.
If both devices are on the same local network (same subnet), using Bonjour with NSNetServiceBrowser/NSNetService is very easy. Also, if you go that route, using NSNetService to set the txt record data with the small strings might be enough to handle the communication needs.
Jim Crate
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden