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 DittoKit object that the delegate was tied to.

    See more

    Declaration

    Swift

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

    Declaration

    Swift

    public protocol DittoPeersObserver : AnyObject