Operation transform algorithm implemented in Swift
This work is based on the Go implementation found here: https://github.com/mb0/ot.
I extended the implementation with support for tracking cursors. More explanation here.
See my other repo for an overview of the algorithm.