This repository contains an example application to demonstrate how the Swift-based Watson Developer Cloud Swift SDK can be consumed from an Objective-C application.
This example modifies the JSQMessagesViewController demo application to add Watson services, including Speech to Text, Conversation, and Text to Speech.
Please note that this project is still a work-in-progress!
- Xcode 7.3+
- iOS 8.0+
This project uses both Carthage and CocoaPods to manage dependencies.
- Install Carthage using Homebrew:
brew install carthage - Install CocoaPods:
sudo gem install cocoapods
- Clone the repository:
git clone https://github.com/watson-developer-cloud/simple-chat-objective-c.git - Build the dependencies:
carthage update --platform iOS - Open
ChatApp.xcworkspace - Update your service credentials in
Credentials.swift - Build and run the app!