Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ViewStateProtocol protocol
protocol ViewStateProtocol: class {
var stateManager: StateManager? { get }
var loadingView: UIView? { get }
var errorView: UIView? { get }
var emptyView: UIView? { get }
var errorMessage: String? { get set }
func addView(withState state: StatesType)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment