I want to use my mac to set up a WiFi, then connect my iPhone to that WiFi so that they can share data/message through local WiFi. Then there is an app written by Swift 3 running on iPhone which will send and receiver data to/from a python script running on Mac. How to do this?
For example, there is a slider in the Swift app, then when I drag the slider change the value, then the value will be sent to Mac and data will be printed out real time.
This is really important to me as a very small part of my project.
Anyone can give some help?
Thanks~