A simple demo application that shows how to setup & integrate the IBM Watson iOS SDK into your iOS applications
APACHE-2.0 License
This project contains a simple application that demonstrates how to setup & integrate the IBM Watson iOS SDK (beta) into your iOS applications.
The IBM Watson iOS SDK (beta) helps simplify integration with many of the Watson Developer Cloud services, including the IBM Watson Dialog, Language Translation, Natural Language Classifier, Personality Insights, Speech To Text, Text to Speech, Alchemy Language, or Alchemy Vision services – all of which are available today, and can now be integrated with just a few lines of code.
In order to take advantage of the IBM Watson iOS SDK (beta), you must first setup IBM Watson services on Bluemix that the mobile SDK will leverage.
This sample app is leveraging the IBM Watson Language Translation service
Next you need to get download the IBM Watson iOS SDK (beta). You can either download it directly as a zip file, or you can clone the git repository to your local machine. Follow installation instructions to compile the SDK for use on your own machine.
Now we need to pull the SDK into the app so we can start integrating Watson services.
Integration of Watson services is as simple as creating an instance of the service class you want to use, then calling the methods that are exposed through the IBM Watson iOS SDK (beta).
For example, the entire sample app code inside of ViewController.swift is less than 100 lines of code, and most of that is even whitespace.
Integration of the IBM Watson Language Translation service is shown below:
Feel free to explore this project, and be sure to explore the IBM Watson iOS SDK (beta).