PageChangeDelegate.swift 427 B

1234567891011121314151617181920212223242526
  1. //
  2. // PageChangeDelegate.swift
  3. // MTP2_iOS
  4. //
  5. // Created by zhongyuan on 2018/4/3.
  6. // Copyright © 2018年 zhongyuan.All rights reserved.
  7. //
  8. import UIKit
  9. protocol PageChangeDelegate {
  10. var pageIndex: Int? {get set}
  11. func didShow()
  12. func didHide()
  13. }
  14. extension PageChangeDelegate {
  15. func didShow() {}
  16. func didHide() {}
  17. }
  18. protocol SubViewControllerRefreshDelegate {
  19. func refreshOrderData()
  20. }