Protocols
The following protocols are available globally.
-
A simple protocol to bridge
See moreContentful.AssetandContentfulPersistence.AssetPersistableto enable consistent local storage patterns.Declaration
Swift
public protocol Media
-
Protocol for persistence stores used by
See moreSynchronizationManagerDeclaration
Swift
public protocol PersistenceStore
-
Undocumented
See more -
Your
See moreNSManagedObjectsubclass should conform to thisSyncSpacePersistableto enable continuing a sync from a sync token on subsequent launches of your application rather than re-fetching all data during an initialSync. See Contentful’s Content Delivery API docs for more information.Declaration
Swift
public protocol SyncSpacePersistable: class -
Conform to
See moreAssetPersistableprotocol to enable mapping of your Contentful media Assets to yourNSManagedObjectsubclass.Declaration
Swift
public protocol AssetPersistable: ContentSysPersistable, Media -
Conform to
See moreEntryPersistableprotocol to enable mapping of your Contentful content type to
yourNSManagedObjectsubclass.Declaration
Swift
public protocol EntryPersistable: ContentSysPersistable
Protocols Reference