Protocols
The following protocols are available globally.
-
Conform to this protocol and initialize your
See moreClientinstance with thepersistenceIntegrationinitialization parameter set to recieve messages about creation and deletion ofEntrys andAssets in your space when doing sync operations using theClient.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`.Declaration
Swift
public protocol PersistenceIntegration: Integration
-
The
See moreIntegrationprotocol describes the libary name and version number for external integrations to be used in conjunction with the contentful.swift SDK.Declaration
Swift
public protocol Integration
-
Use types that conform to QueryableRange to perform queries with the four Range operators See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/ranges
See moreDeclaration
Swift
public protocol QueryableRange -
Undocumented
See more -
Protocol which enables concrete query implementations to be ‘chained’ together so that results can be filtered by more than one QueryOperation or other query. Protocol extensions give default implementation so that all concrete types,
See moreQuery,AssetQuery,FilterQuery, andQueryOn<EntryType>, can use the same implementation.Declaration
Swift
public protocol ChainableQuery: AbstractQuery
View on GitHub
Protocols Reference