LoginViewDelegate.swift 371 B

1234567891011121314151617
  1. //
  2. // LoginViewDelegate.swift
  3. // Sirani
  4. //
  5. // Created by Anhar Solehudin on 07/04/19.
  6. // Copyright © 2019 Anhar Solehudin. All rights reserved.
  7. //
  8. import Foundation
  9. protocol LoginViewDelegate: NSObjectProtocol {
  10. func showNoConnection()
  11. func showLoading()
  12. func hideLoading()
  13. func onFailedLogin(message: String)
  14. func onSuccessLogin(user: User)
  15. }