PagingView
@MainActor
open class PagingView : UIView
extension PagingView: UITableViewDataSource, UITableViewDelegate
extension PagingView: PagingListContainerViewDataSource
FWPagingView
-
需要和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)
-
Undocumented
Declaration
Swift
@MainActor public func mainTableViewMaxContentOffsetY() -> CGFloat
-
Undocumented
Declaration
Swift
@MainActor open func setMainTableViewToMaxContentOffsetY()
-
Undocumented
Declaration
Swift
@MainActor open func minContentOffsetYInListScrollView(_ scrollView: UIScrollView) -> CGFloat
-
Undocumented
Declaration
Swift
@MainActor open func setListScrollViewToMinContentOffsetY(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor public func scrollToIndex(_ index: Int, animated: Bool = true)
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat
-
Undocumented
Declaration
Swift
@MainActor open func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
-
Undocumented
Declaration
Swift
@MainActor open func scrollViewDidScroll(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor open func scrollViewWillBeginDragging(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor open func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool)
-
Undocumented
Declaration
Swift
@MainActor open func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor open func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
-
Declaration
Swift
@MainActor public func numberOfLists(in listContainerView: PagingListContainerView) -> Int
-
Declaration
Swift
@MainActor public func listContainerView(_ listContainerView: PagingListContainerView, initListAt index: Int) -> PagingViewListViewDelegate
-
Declaration
Swift
@MainActor public func scrollViewClass(in listContainerView: PagingListContainerView) -> AnyClass
-
Undocumented
Declaration
Swift
@MainActor public func listContainerViewWillBeginDragging(_ listContainerView: PagingListContainerView)
-
Undocumented
Declaration
Swift
@MainActor public func listContainerViewDidEndScrolling(_ listContainerView: PagingListContainerView)
-
Undocumented
Declaration
Swift
@MainActor public func listContainerView(_ listContainerView: PagingListContainerView, listDidAppearAt index: Int)