PagingListContainerView
@MainActor
open class PagingListContainerView : UIView
extension PagingListContainerView: UICollectionViewDataSource, UICollectionViewDelegateFlowLayout
Undocumented
-
Undocumented
Declaration
Swift
@MainActor public private(set) var type: PagingListContainerType { get }
-
Undocumented
Declaration
Swift
@MainActor public private(set) weak var dataSource: PagingListContainerViewDataSource? { get }
-
Undocumented
Declaration
Swift
@MainActor public private(set) var scrollView: UIScrollView! { get }
-
Undocumented
Declaration
Swift
@MainActor public var isCategoryNestPagingEnabled: Bool { get set }
-
已经加载过的列表字典。key是index,value是对应的列表
Declaration
Swift
@MainActor open var validListDict: [Int : any PagingViewListViewDelegate]
-
滚动切换的时候,滚动距离超过一页的多少百分比,就触发列表的初始化。默认0.01(即列表显示了一点就触发加载)。范围0~1,开区间不包括0和1
Declaration
Swift
@MainActor open var initListPercent: CGFloat { get set }
-
Undocumented
Declaration
Swift
@MainActor public var listCellBackgroundColor: UIColor
-
需要和segmentedView.defaultSelectedIndex保持一致,用于触发默认index列表的加载
Declaration
Swift
@MainActor public var defaultSelectedIndex: Int { get set }
-
Undocumented
Declaration
Swift
@MainActor public private(set) var currentIndex: Int { get }
-
Undocumented
Declaration
Swift
@MainActor public init(dataSource: PagingListContainerViewDataSource, type: PagingListContainerType = .collectionView)
-
Undocumented
Declaration
Swift
@MainActor public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor open func commonInit()
-
Undocumented
Declaration
Swift
@MainActor override open func willMove(toSuperview newSuperview: UIView?)
-
Undocumented
Declaration
Swift
@MainActor override open func layoutSubviews()
-
Undocumented
Declaration
Swift
@MainActor public func contentScrollView() -> UIScrollView
-
Undocumented
Declaration
Swift
@MainActor public func scrolling(from leftIndex: Int, to rightIndex: Int, percent: CGFloat, selectedIndex: Int)
-
Undocumented
Declaration
Swift
@MainActor public func didClickSelectedItem(at index: Int)
-
Undocumented
Declaration
Swift
@MainActor public func reloadData()
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Undocumented
Declaration
Swift
@MainActor public func scrollViewDidScroll(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor public func scrollViewWillBeginDragging(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@MainActor public func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool)
-
Undocumented
Declaration
Swift
@MainActor public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)