protocol LoginPresenter {
func didTapLogin(userName: String?, password: String?)
func didTapRegister()
func didTapRecoverPassword()
}
protocol LoginView: View {
}
class LoginPresenterImpl: LoginPresenter {
private weak var view: LoginView?
private let router: LoginRouter
private let loginUseCase: LoginUseCase
init(view: LoginView, router: LoginRouter, loginUseCase: LoginUseCase) {
self.view = view
self.router = router
self.loginUseCase = loginUseCase
}
func didTapLogin(userName: String?, password: String?) {