PagingView
@objc(FWPagingView)
@objcMembers
open class PagingView : UIView
extension PagingView: UITableViewDataSource, UITableViewDelegate
extension PagingView: PagingListContainerViewDataSource
FWPagingView
-
需要和categoryView.defaultSelectedIndex保持一致
Declaration
Swift
public var defaultSelectedIndex: Int { get set } -
Undocumented
Declaration
Swift
public private(set) lazy var mainTableView: PagingMainTableView { get set } -
Undocumented
Declaration
Swift
public private(set) lazy var listContainerView: PagingListContainerView { get set } -
当前已经加载过可用的列表字典,key就是index值,value是对应的列表。
Declaration
Swift
public private(set) var validListDict: [Int : PagingViewListViewDelegate] { get } -
顶部固定sectionHeader的垂直偏移量。数值越大越往下沉。
Declaration
Swift
public var pinSectionHeaderVerticalOffset: Int -
Undocumented
Declaration
Swift
public var isListHorizontalScrollEnabled: Bool { get set } -
是否允许当前列表自动显示或隐藏列表是垂直滚动指示器。true:悬浮的headerView滚动到顶部开始滚动列表时,就会显示,反之隐藏。false:内部不会处理列表的垂直滚动指示器。默认为:true。
Declaration
Swift
public var automaticallyDisplayListVerticalScrollIndicator: Bool -
Undocumented
Declaration
Swift
public var currentScrollingListView: UIScrollView? -
Undocumented
Declaration
Swift
public var currentList: PagingViewListViewDelegate? -
Undocumented
Declaration
Swift
public init(delegate: PagingViewDelegate, listContainerType: PagingListContainerType = .collectionView) -
Undocumented
Declaration
Swift
override open func layoutSubviews() -
Undocumented
Declaration
Swift
open func reloadData() -
Undocumented
Declaration
Swift
open func resizeTableHeaderViewHeight(animatable: Bool = false, duration: TimeInterval = 0.25, curve: UIView.AnimationCurve = .linear) -
Undocumented
Declaration
Swift
open func preferredProcessListViewDidScroll(scrollView: UIScrollView) -
Undocumented
Declaration
Swift
open func preferredProcessMainTableViewDidScroll(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
public func mainTableViewMaxContentOffsetY() -> CGFloat -
Undocumented
Declaration
Swift
open func setMainTableViewToMaxContentOffsetY() -
Undocumented
Declaration
Swift
open func minContentOffsetYInListScrollView(_ scrollView: UIScrollView) -> CGFloat -
Undocumented
Declaration
Swift
open func setListScrollViewToMinContentOffsetY(_ scrollView: UIScrollView) -
Undocumented
Declaration
Swift
public func scrollToIndex(_ index: Int, animated: Bool = true)
-
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat -
Undocumented
Declaration
Swift
open func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? -
Undocumented
Declaration
Swift
open func scrollViewDidScroll(_ scrollView: UIScrollView) -
Undocumented
Declaration
Swift
open func scrollViewWillBeginDragging(_ scrollView: UIScrollView) -
Undocumented
Declaration
Swift
open func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) -
Undocumented
Declaration
Swift
open func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) -
Undocumented
Declaration
Swift
open func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) -
Declaration
Swift
public func numberOfLists(in listContainerView: PagingListContainerView) -> Int -
Declaration
Swift
public func listContainerView(_ listContainerView: PagingListContainerView, initListAt index: Int) -> PagingViewListViewDelegate -
Declaration
Swift
public func scrollViewClass(in listContainerView: PagingListContainerView) -> AnyClass -
Undocumented
Declaration
Swift
public func listContainerViewWillBeginDragging(_ listContainerView: PagingListContainerView) -
Undocumented
Declaration
Swift
public func listContainerViewDidEndScrolling(_ listContainerView: PagingListContainerView) -
Undocumented
Declaration
Swift
public func listContainerView(_ listContainerView: PagingListContainerView, listDidAppearAt index: Int)
PagingView Class Reference