You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
663 B

  1. //
  2. // OrderHistoryViewInterface.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon Devik Kim on 14/05/2019.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. protocol OrderHistoryViewInterface: class {
  9. /// set order history model from presenter
  10. ///
  11. /// - Parameter model: order history model
  12. func setOrderHistoryModel(with model: [Order]?)
  13. /// raise error from presenter
  14. ///
  15. /// - Parameter error: error
  16. func didFailFetchOrderHistory(with error: Error)
  17. /// present activity indicator for something process
  18. func stardLoading()
  19. /// dismiss activity indicator for something process
  20. func endLoading()
  21. }