Twinsprite iOS SDK Demo
Objective-C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TwinSprite.xcodeproj
TwinSprite
TwinSpriteTests
.gitignore
LICENSE
README.md

README.md

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.

Setup

  1. If you don't have a Twinsprite Development Portal account, follow the Quick Start Guide to create an account, a game and some development Toyx.

  2. Open the Xcode project and replace the API_KEY and SECRET_KEY strings at the top of MainViewController.m with your game key-pair.

  3. 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.

image

Code Overview

  • 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.

Resources

Twinsprite iOS SDK Documentation Site

Twinsprite iOS SDK Reference

Twinsprite iOS SDK Module

Support: dev@twinsprite.com