Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Building a Client App From Scratch - LoadState
import Foundation
enum LoadState<T> {
case loading
case updating
case loaded(response: T)
case failed(error: Error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment