HP IDOL OnDemand. Query Text Index Example with UI

With the Query Text Index Swift Example article, I demonstrated how to query text indexes in IDOL OnDemand. A simple RESTful client was created to make a call to API and output the result. For that example, I used Xcode Playgrounds and unfortunately, I did not find a way to make UI written in the playground responsive to user’s actions (text inputs, button clicks, etc.). Eventually, I came to the conclusion that for now such features are simply not supported, and decided to make a simple iOS application to demonstrate how to communicate between UI and the client; this article describes how to do so. Let’s begin! Read the rest of this entry »