Protocols

The following protocols are available globally.

  • Conforming to this protocol allows remote notifications to be converted to local notifications and triggers behavior.

    See more

    Declaration

    Swift

    public protocol MCNotificationConverter
  • This protocol enables conforming types to give access to an array of Recordable, and to match array’s contents to the cloud.

    See more

    Declaration

    Swift

    public protocol MCMirrorAbstraction: AnyObject, MCArrayComparer
  • The MCRecordable protocol ensures that any conforming instances have what is necessary to be recorded in the cloud database. Conformance to this protocol is also necessary to interact with the Magic Cloud framework.

    See more

    Declaration

    Swift

    public protocol MCRecordable
  • This protocol allows conforming instances to compare arrays of MCRecordable, by granting access to the check method.

    See more

    Declaration

    Swift

    public protocol MCArrayComparer