Skip to content

Instantly share code, notes, and snippets.

Created June 2, 2017 12:10
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