The Ably LiveObjects plugin enables real-time collaborative data synchronization for the ably-cocoa SDK. LiveObjects provides a simple way to build collaborative applications with synchronized state across multiple clients in real-time. Built on Ably's core service, it abstracts complex details to enable efficient collaborative architectures.
Warning
This plugin is currently experimental and the public API may change.
Everything you need to get started with Ably LiveObjects:
- Learn about Ably LiveObjects.
- Getting started with LiveObjects in Swift.
- Explore the example app to see LiveObjects in action.
Ably aims to support a wide range of platforms. If you experience any compatibility issues, open an issue in the repository or contact Ably support.
This plugin supports the following platforms:
Platform | Support |
---|---|
iOS | >= 14.0 |
macOS | >= 11.0 |
tvOS | >= 14.0 |
Note
Xcode 16.3 or later is required.
This repository contains an example app, written using SwiftUI, which demonstrates how to use the plugin. The code for this app is in the Example
directory.
In order to allow the app to use modern SwiftUI features, it supports the following OS versions:
- macOS 14 and above
- iOS 17 and above
- tvOS 17 and above
To run the app:
- Open the
AblyLiveObjects.xcworkspace
workspace in Xcode. - Follow the instructions inside the
Secrets.example.swift
file to add your Ably API key to the example app. - Run the
AblyLiveObjectsExample
target. If you wish to run it on an iOS or tvOS device, you'll need to set up code signing.
The CHANGELOG.md contains details of the latest releases for this plugin. You can also view all Ably releases on changelog.ably.com.
Read the CONTRIBUTING.md guidelines to contribute to Ably or share feedback or request a new feature.
For help or technical support, visit Ably's support page. You can also view the community reported GitHub issues or raise one yourself.