Datasourceable
public protocol Datasourceable<ResultData> : AnyObject, Interactable
This protocol represents a datasource interactor. These datasources can be used to provide items to a Destination’s view interface.
-
An enum which defines types of actions for a particular Interactor.
Declaration
Swift
associatedtype ActionType : Hashable
-
Tells the provider to start retrieval of the items. Once retrieved, the items should be provided via the
itemsProvider
publisher.Declaration
Swift
func startItemsRetrieval()
-
An object which receives status updates about items retrieval progress.
Declaration
Swift
var statusDelegate: DatasourceItemsProviderStatusDelegate? { get set }
-
Items contained by the datasource.
Declaration
Swift
var items: [ResultData] { get set }