Skip to main content

DataController.State

Describes the possible states of DataController

public enum State: Equatable 

Inheritance

Equatable

Enumeration Cases

initialized

The controller is created but no data fetched.

case initialized

localDataFetched

The controllers already fetched local data if any.

case localDataFetched

localDataFetchFailed

The controller failed to fetch local data.

case localDataFetchFailed(ClientError)

remoteDataFetched

The controller fetched remote data.

case remoteDataFetched

remoteDataFetchFailed

The controller failed to fetch remote data.

case remoteDataFetchFailed(ClientError)

Did you find this page helpful?