Skip to content

This project contains an example of an application for iPhone, iPad and Vision Pro that employs the Lightstreamer iOS Client library

License

Notifications You must be signed in to change notification settings

Lightstreamer/Lightstreamer-example-StockList-client-ios

Repository files navigation

Lightstreamer - Stock-List Demo - iOS Client

This project contains an example of an application for iPhone, iPad and Vision Pro that employs the Lightstreamer Swift Client library. The application also includes a WatchKit extension.

A version with full support for mobile push notifications (MPN) is also available: Lightstreamer - Stock-List Demo with APNs Push Notifications - iOS Client.

screenshot

Details

This app, compatible with both iPhone, iPad and Vision Pro, is an 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.

Build

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.

Compile and Run

  • Create an app ID on the Apple Developer Center.
  • Create and install an appropriate provisioning profile for the app ID above and your test device, on the Apple Developer Center.
  • Set the app ID above as the Bundle Identifier of the Xcode project of the app.
  • Set the IP address of your local Lightstreamer Server in the constant PUSH_SERVER_URL, defined in Shared/Constants.swift; a ":port" part can also be added.
  • Follow the installation instructions for the Data and Metadata adapters required by the demo, detailed in the Lightstreamer - Stock-List Demo - Java Adapter project.

Done this, the app should run correctly on your test device and connect to your server.

See Also

Lightstreamer Adapters Needed by This Demo Client

Related Projects

Lightstreamer Compatibility Notes

  • Code compatible with Lightstreamer Swift Client 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.

About

This project contains an example of an application for iPhone, iPad and Vision Pro that employs the Lightstreamer iOS Client library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages