Hi,
I want to have 1 program running on my phone/simulator that has a slider and a button, and another receiving program on the mac, such as Processing/Supercollider.
When the button is pressed I want a string to be returned in the post window on the mac program, such as 'Hello'. When the slider is moved up/down I want a variable integer (0-100) to be returned on the mac corresponding with the movement of the slider.
I'm assuming a WiFi connection would be essential for the sending of messages between devices - CFSocket or NSStream seem to be the sort of thing I would need but I'm struggling to impliment these in xCode
If anyone could provide any useful tutorials/links/source code this would be much appreciated.
Cheers
I want to have 1 program running on my phone/simulator that has a slider and a button, and another receiving program on the mac, such as Processing/Supercollider.
When the button is pressed I want a string to be returned in the post window on the mac program, such as 'Hello'. When the slider is moved up/down I want a variable integer (0-100) to be returned on the mac corresponding with the movement of the slider.
I'm assuming a WiFi connection would be essential for the sending of messages between devices - CFSocket or NSStream seem to be the sort of thing I would need but I'm struggling to impliment these in xCode
If anyone could provide any useful tutorials/links/source code this would be much appreciated.
Cheers