This is a low-level library with few concessions to ergonomics, meant to interact directly with the low-level Automerge API.
Additional API that is more ergonomic is being added into the repository as this project evolves.
Note: There was an earlier Swift language bindings for Automerge here at automerge/automerge-swift.
The repository was renamed and archived, but is still available if you are looking for it.
Quickstart
Add a dependency in Package.swift, as the following example shows:
Automerge-swift
An Automerge implementation for swift.
This is a low-level library with few concessions to ergonomics, meant to interact directly with the low-level Automerge API. Additional API that is more ergonomic is being added into the repository as this project evolves.
Automerge-Swifter API Documentation is available on the Automerge site. A command-line demonstration application (contaaacts) is available that shows using the lower level API.
Note: There was an earlier Swift language bindings for Automerge here at automerge/automerge-swift. The repository was renamed and archived, but is still available if you are looking for it.
Quickstart
Add a dependency in
Package.swift
, as the following example shows:Now you can create a document and do all sorts of Automerge things with it
For more details on the API, see the Automerge-swift API documentation and the articles within.