MCDatePikerStyleDelegate.swift 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // MCDatePikerDelegate.swift
  3. // HCQuanfangtong
  4. //
  5. // Created by Apple on 2022/5/7.
  6. // Copyright © 2022 Jyp. All rights reserved.
  7. //
  8. import Foundation
  9. import UIKit
  10. protocol MCDatePikerStyleDelegate{
  11. //MARK: - pikerView 相关
  12. func delegateForPikerBackgroundColor() -> UIColor
  13. func delegateForPikerHeight() -> CGFloat
  14. func delegateForPikerRowHeight() -> CGFloat
  15. func delegateForPikerTitleColor() -> UIColor
  16. func delegateForPikerTitleFont() -> UIFont
  17. func delegateForPikerTitleDisableColor() -> UIColor
  18. func delegateForPikerTitleDisableFont() -> UIFont
  19. func delegateForPikerViewBottomSpace() -> CGFloat
  20. func delegateForPikerContentWidth() -> CGFloat
  21. //MARK: - tool bar 相关
  22. func delegateForToolBarHeight() -> CGFloat
  23. func delegateForCancelTitle() -> String
  24. func delegateForCancelTitleColor() -> UIColor
  25. func delegateForCancelTitleFont() -> UIFont
  26. func delegateForCancelBackgroundColor() -> UIColor
  27. func delegateForOKTitle() -> String
  28. func delegateForOKTitleColor() -> UIColor
  29. func delegateForOKTitleFont() -> UIFont
  30. func delegateForOKBackgroundColor() -> UIColor
  31. func delegateForToolBarBackgroundColor() -> UIColor
  32. func delegateForToolBarItemWidth() -> CGFloat
  33. func delegateForToolBarItemMarginLeftSpace() -> CGFloat
  34. func delegateForToolBarItemMarginTopSpace() -> CGFloat
  35. }