PagingView

@MainActor
open class PagingView : UIView
extension PagingView: UITableViewDataSource, UITableViewDelegate
extension PagingView: PagingListContainerViewDataSource

FWPagingView

JXPagingView 2.1.0

  • 需要和categoryView.defaultSelectedIndex保持一致

    Declaration

    Swift

    @MainActor
    public var defaultSelectedIndex: Int { get set }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public private(set) lazy var mainTableView: PagingMainTableView { get set }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public private(set) lazy var listContainerView: PagingListContainerView { get set }
  • 当前已经加载过可用的列表字典,key就是index值,value是对应的列表。

    Declaration

    Swift

    @MainActor
    public private(set) var validListDict: [Int : any PagingViewListViewDelegate] { get }
  • 顶部固定sectionHeader的垂直偏移量。数值越大越往下沉。

    Declaration

    Swift

    @MainActor
    public var pinSectionHeaderVerticalOffset: Int
  • Undocumented

    Declaration

    Swift

    @MainActor
    public var isListHorizontalScrollEnabled: Bool { get set }
  • 是否允许当前列表自动显示或隐藏列表是垂直滚动指示器。true:悬浮的headerView滚动到顶部开始滚动列表时,就会显示,反之隐藏。false:内部不会处理列表的垂直滚动指示器。默认为:true。

    Declaration

    Swift

    @MainActor
    public var automaticallyDisplayListVerticalScrollIndicator: Bool
  • 当allowsCacheList为true时,请务必实现代理方法func pagingView(_ pagingView: PagingView, listIdentifierAtIndex index: Int) -> String

    Declaration

    Swift

    @MainActor
    public var allowsCacheList: Bool
  • Undocumented

    Declaration

    Swift

    @MainActor
    public private(set) var currentScrollingListView: UIScrollView? { get }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public init(delegate: PagingViewDelegate, listContainerType: PagingListContainerType = .collectionView)
  • Undocumented

    Declaration

    Swift

    @MainActor
    override open func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func reloadData()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func resizeTableHeaderViewHeight(animatable: Bool = false, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func preferredProcessListViewDidScroll(scrollView: UIScrollView)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func preferredProcessMainTableViewDidScroll(_ scrollView: UIScrollView)

Private

UITableViewDataSource, UITableViewDelegate