Skip to content

This is a small demo using NetService (Bonjour) to send short messages from one app to another only by updating the bonjour TXT record.

Notifications You must be signed in to change notification settings

dynamomobile/MinimalNetService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MinimalNetService

This is a small demo using NetService (Bonjour) to send short messages from one app to another only by updating the bonjour TXT record.

It all started with a question in a CocoaHeads Sthlm slack channel. How to send a value from one device to another with cheapest-to-implement tech.

This example uses the TXT record in Bonjour to send and update from a Mac app to an iOS app. See the ViewControllers for the code to do this.

Mac ViewController.swift

iOS ViewController.swift

Have fun.

About

This is a small demo using NetService (Bonjour) to send short messages from one app to another only by updating the bonjour TXT record.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages