Last active
May 29, 2018 00:13
-
-
Save rajajawahar/1b3c1b0e8c10b94723036ba9a4275289 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class LoginViewController: UIViewController,LoginView { | |
var loginPresenter : LoginPresenter? | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
loginPresenter = LoginPresenter() | |
loginPresenter?.attachView(view: self) | |
} | |
override func didReceiveMemoryWarning() { | |
super.didReceiveMemoryWarning() | |
} | |
func showError(message: String) { | |
// Show Error if there is any problem with validation | |
} | |
func showLoading() { | |
//Show the progress bar while signingin | |
} | |
func hideLoading() { | |
//hide the progress bar after validation | |
} | |
func showMessage(message: String){ | |
} | |
func navigateToHome() { | |
// Navigate to Home | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment