This project contains an example of an application for iPhone, iPad and Vision Pro that employs the Lightstreamer Swift Client library, with use of mobile push notifications (MPN). The application also includes a WatchKit extension.
A simpler version, without mobile push notifications support, is also available: Lightstreamer - Stock-List Demo - iOS Client.
This app, compatible with iPhone, iPad and Vision Pro, is a Swift version of the Stock-List Demos.
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 data received from Lightstreamer Server. Additionally, the user interface provides means to activate and deactivate mobile push notifications for specific stock quotes.
Binaries for the application are not provided, but it may be downloaded from the App Store at this address. The downloaded app will connect to Lightstreamer's online demo server.
A full Xcode project, ready for compilation of the app sources, is provided. Please recall that you need a valid iOS Developer Program membership to run or debug your app on a test device.
A full local deploy of this app requires a Lightstreamer Server 7.4 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:
- Lightstreamer - Stock- List Demo - Java Adapter
- Lightstreamer - MPN Stock-List Demo Metadata - Java Adapter
- Lightstreamer - Stock-List Demos - HTML Clients
- Lightstreamer - Stock-List Demo - iOS Client
- Lightstreamer - Stock-List Demo with FCM Push Notifications - Android Client
- Lightstreamer - Basic Stock-List Demo - OS X Client
- Lightstreamer - Basic Stock-List Demo - Windows Phone Client
- Code compatible with Lightstreamer Swift Library version 6.1 or newer.
- For Lightstreamer Server version 7.4 or greater. Ensure that iOS, watchOS and/or visionOS Client SDK is supported by Lightstreamer Server license configuration, depending on where the demo will be run.
- For a version of this example compatible with Lightstreamer iOS and watchOS Client SDKs versions up to 5, please refer to this tag.
- For a version of this example compatible with Lightstreamer iOS and watchOS Client SDKs versions up to 4, please refer to this tag.