JXSegmentedTitleDynamicConfiguration.swift 501 B

1234567891011121314151617
  1. //
  2. // JXSegmentedTitleBaseDataSource.swift
  3. // JXSegmentedView
  4. //
  5. // Created by Jiaxin Pu on 2024/4/16.
  6. // Copyright © 2024 jiaxin. All rights reserved.
  7. //
  8. import UIKit
  9. public protocol JXSegmentedTitleDynamicConfiguration: NSObject {
  10. func titleNumberOfLines(at index: Int) -> Int
  11. func titleNormalColor(at index: Int) -> UIColor
  12. func titleSelectedColor(at index: Int) -> UIColor
  13. func titleNormalFont(at index: Int) -> UIFont
  14. func titleSelectedFont(at index: Int) -> UIFont?
  15. }