Created
December 12, 2016 22:07
-
-
Save omayib/a39e11a67189fc811065b48dfe1dfeed to your computer and use it in GitHub Desktop.
an extension from UIViewController
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
import SJProgressHUD | |
class UIViewControllerExtension { | |
extension UIViewController { | |
func showWaiting(message: String){ | |
SJProgressHUD.showWaiting(message) | |
} | |
func showError(message: String){ | |
SJProgressHUD.showError(message) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment