An open API service indexing awesome lists of open source software.

https://github.com/ably/demo-mobile-ios

A simple mobile app built for iOS using the ably-io realtime library
https://github.com/ably/demo-mobile-ios

Last synced: about 1 year ago
JSON representation

A simple mobile app built for iOS using the ably-io realtime library

Awesome Lists containing this project

README

          

# [Ably](https://www.ably.io) iOS mobile demo

_[Ably](https://ably.com) is the platform that powers synchronized digital experiences in realtime. Whether attending an event in a virtual venue, receiving realtime financial information, or monitoring live car performance data – consumers simply expect realtime digital experiences as standard. Ably provides a suite of APIs to build, extend, and deliver powerful digital experiences in realtime for more than 250 million devices across 80 countries each month. Organizations like Bloomberg, HubSpot, Verizon, and Hopin depend on Ably’s platform to offload the growing complexity of business-critical realtime data synchronization at global scale. For more information, see the [Ably documentation](https://ably.com/documentation)._

This iOS demo uses the Ably real-time message service and provides a simple example of how to use the following features:

* Channels and publishing and subscribing to messages
* Presence, entering channels and subscribing to presence events
* Token authentication from a URL

## Running the demo on a mobile device or a device emulator

* Make sure you have [Xcode 7.3 or later](https://developer.apple.com/xcode/) installed.
* Make sure you have [CocoaPods](https://cocoapods.org/#install) installed.
* Open a terminal, navigate to the cloned repository and type `pod install` to install all dependencies
* After that, open Xcode and select `Open another project`.
* Locate and open `demo-ios.xcworkspace`.
* From the top toolbar in Xcode select either one of the provided simulator devices, or a [real hardware device](https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html).
* Use the `Product -> Run` menu to either run or debug the application.
* Use the app.