Created
June 2, 2017 12:10
-
-
Save LH17/37d7a11ea4326766946e113a7798f817 to your computer and use it in GitHub Desktop.
ViewStateProtocol protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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