HomeViewDelegate.swift 465 B

12345678910111213141516171819
  1. //
  2. // HomeViewDelegate.swift
  3. // Sirani
  4. //
  5. // Created by Anhar Solehudin on 27/03/19.
  6. // Copyright © 2019 Anhar Solehudin. All rights reserved.
  7. //
  8. import Foundation
  9. protocol HomeViewDelegate: NSObjectProtocol {
  10. func setSlideshowImages(images: [String])
  11. func setNews(listNews: [News])
  12. func setMenuNotifications(menuNotification: MenuNotification)
  13. func showLoading()
  14. func hideLoading()
  15. func setTotalUnreadNotif(totalUnreadNotif: Int)
  16. }