You can find the source code for all of the iOS examples at the following GitHub repository:
This folder contains various TML samples for TMLKit library.
To get it running, follow these steps:
$ git clone https://github.com/translationexchange/tml-objc-samples $ cd tml-objc-samples $ pod install $ open TMLDemo.xcworkspace
Launch the app.
In order to translate strings in-context, you should register a new project under you account at:
Once you create a new project, copy your application key and update it inside the main.c file.
To activate translation mode on your device, press 4 fingers down.
To activate translation mode in a simulator, press option + click.
Once translation mode is activated, tap and hold on any string in your application to bring up the in-context translator.