Protocols

The following protocols are available globally.

  • An optional delegate object that can be used to get updates about events occurring that relate to the DittoSyncKit object that the delegate was tied to.

    See more

    Declaration

    Swift

    public protocol DittoSyncKitDelegate : AnyObject
  • A token returned by observePeers(). Retain this object to continue receiving callback updates.

    See more

    Declaration

    Swift

    public protocol DittoPeersObserver : AnyObject