Real-time data animation in your Apple Watch with the Streamdata.io proxy.
Streamdata.io allows to get data pushed from various sources. This sample application shows simulated market data values pushed by Streamdata.io proxy using Server-sent events.
To run the sample, you can clone this GitHub repository, and then open the project with XCode.
Before running the project on a phone or emulator, you have to paste a token to be authenticated by the proxy.
Modify ViewController.m on line 28 :
static NSString * kToken =
@"YOUR_TOKEN-HERE";
To get a token, please sign up for free to the streamdata.io portal and follow the guidelines. You will find your token in the 'security' section.
The application dependencies are available on GitHub
- TRVSEventSource Server-Sent-Event library : https://github.com/travisjeffery/TRVSEventSource
- JSONTools : https://github.com/grgcombs/JSONTools
If you have any questions or feedback, feel free to contact us at [email protected]
Enjoy!