Protocols

The following protocols are available globally.

  • Conform to this protocol and initialize your Client instance with the persistenceIntegration initialization parameter set to recieve messages about creation and deletion of Entrys and Assets in your space when doing sync operations using the Client.initialSync() and Client.nextSync()methods. Proper conformance to this protocol should enable persisting the state changes that happen in your Contentful space to a persistent store such asCoreData`.

    See more

    Declaration

    Swift

    public protocol PersistenceIntegration: Integration
  • The Integration protocol describes the libary name and version number for external integrations to be used in conjunction with the contentful.swift SDK.

    See more

    Declaration

    Swift

    public protocol Integration