Skip to content

Instantly share code, notes, and snippets.

@omayib
Created December 13, 2016 03:00
Show Gist options
  • Save omayib/4f6bafcb7bb4fe0786b124167adf57aa to your computer and use it in GitHub Desktop.
Save omayib/4f6bafcb7bb4fe0786b124167adf57aa to your computer and use it in GitHub Desktop.
Start with protocol
protocol UILoadingView {
func showLoading()
func showLoadingWithLabel(title:String?, subtitle:String)
func showErrorWithLabel(message: String)
func showSuccessWithLabel(message:String)
func hideLoading()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment