Skip to content

Lightstreamer/Lightstreamer-example-Chat-client-ios-swift

Repository files navigation

Lightstreamer - Basic Chat Demo - iOS Client - Swift

The Chat Demo is a very simple chat application based on Lightstreamer.

This project contains an example of an application for iPhone that employs the Lightstreamer Swift Client library, with use of mobile push notifications (MPN).

screenshot

Details

This app, compatible with iPhone, is a Swift version of the Lightstreamer - Basic Chat Demo - HTML Client.

This app uses the Swift Client API for Lightstreamer to handle the communications with Lightstreamer Server. A simple user interface is implemented to display the real-time messages received from Lightstreamer Server. Additionally, the app is able to forward incoming messages via mobile push notifications to any registered client.

Further details about developing apps on iOS with Lightstreamer and MPNs are discussed in this blog post:

Install

Binaries for the application are not provided.

Build

Binaries for the application are not provided, but a full Xcode project is provided. Please recall that you need a valid iOS Developer Program membership to debug or deploy your app on a test device.

Compile and Run

A full local deploy of this app requires a Lightstreamer Server 7.0 or greater installation with appropriate Mobile Push Notifications (MPN) module configuration. A detailed step by step guide for setting up the server and configuring the client is available in the README of the following project:

See Also

Lightstreamer Adapters Needed by This Demo Client

More information on developing Lightstreamer apps with iOS and MPN:

Related Projects

Lightstreamer Compatibility Notes

  • Code compatible with Lightstreamer Swift Client Library version 5.0.0 or newer.
  • Build instructions compatible with Lightstreamer Swift Client SDK version 5.0.0 or newer.
  • For Lightstreamer Server version 7.0 or greater. Ensure that iOS Client SDK is supported by Lightstreamer Server license configuration.
  • For a version of this example compatible with Lightstreamer iOS Client SDK versions up to 4, please refer to this tag.