• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS app communicating with macOS app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iOS app communicating with macOS app (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: iOS app communicating with macOS app
  • Next by Date: Best way to make a little piece of data persistent?
  • Previous by thread: iOS app communicating with macOS app
  • Next by thread: Re: iOS app communicating with macOS app
  • Index(es):
    • Date
    • Thread