Twinsprite iOS SDK Demo
This repository includes an Xcode Objective-C project with a demo APP that illustrates the main Twinsprite SDK methods. The Twinsprite iOS SDK library (libSDK.a) and the include directory with the required interface files are included in the project.
The project also illustrates how to extract a ToyxID from a QR code using a basic QR scanner.
Open the Xcode project and replace the API_KEY and SECRET_KEY strings at the top of MainViewController.m with your game key-pair.
Build the application and run it on an iOS device. Acan a valid toyxID QR code from the Twinsprite Development Portal and start making requests.
MainViewController.m provides code examples of how to create a session, retrieve and update the Toyx data.
ScanViewController.m illustrates how to implement a basic QR scanner exploiting the iOS SDK capabilities.