hl2dod / simple-chat-objective-c

:iphone: An iOS chat application using cognitive services from the Watson Developer Cloud iOS SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Watson Developer Cloud Swift SDK: Chat App Example

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!

Requirements

  • Xcode 7.3+
  • iOS 8.0+

Dependency Management

This project uses both Carthage and CocoaPods to manage dependencies.

  • Install Carthage using Homebrew: brew install carthage
  • Install CocoaPods: sudo gem install cocoapods

Getting Started

  1. Clone the repository: git clone https://github.com/watson-developer-cloud/simple-chat-objective-c.git
  2. Build the dependencies: carthage update --platform iOS
  3. Open ChatApp.xcworkspace
  4. Copy CredentialsExample.swift to Credentials.swift.
  5. Update your service credentials in Credentials.swift
  6. Build and run the app!

About

:iphone: An iOS chat application using cognitive services from the Watson Developer Cloud iOS SDK.

License:Apache License 2.0


Languages

Language:Objective-C 92.9%Language:Shell 5.9%Language:Swift 1.1%Language:Ruby 0.1%