Protocols
The following protocols are available globally.
-
A simple protocol to bridge
See moreContentful.Asset
andContentfulPersistence.AssetPersistable
to enable consistent local storage patterns.Declaration
Swift
public protocol Media
-
Protocol for persistence stores used by
See moreSynchronizationManager
Declaration
Swift
public protocol PersistenceStore
-
Undocumented
See more -
Your
See moreNSManagedObject
subclass should conform to thisSyncSpacePersistable
to 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 moreAssetPersistable
protocol to enable mapping of your Contentful media Assets to yourNSManagedObject
subclass.Declaration
Swift
public protocol AssetPersistable: ContentSysPersistable, Media
-
Conform to
See moreEntryPersistable
protocol to enable mapping of your Contentful content type to
yourNSManagedObject
subclass.Declaration
Swift
public protocol EntryPersistable: ContentSysPersistable