SkeletonCollectionView
@MainActor
open class SkeletonCollectionView : SkeletonLayout, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout
骨架屏集合视图,可生成集合骨架屏
-
集合视图,默认不可滚动
Declaration
Swift
@MainActor open lazy var collectionView: UICollectionView { get set }
-
集合视图代理,快速生成集合
Declaration
Swift
@MainActor open lazy var collectionDelegate: CollectionViewDelegate { get set }
-
Undocumented
Declaration
Swift
@MainActor public init(collectionViewLayout: UICollectionViewLayout)
-
Declaration
Swift
@MainActor override public init(layoutView: UIView?)
-
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect)
-
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor override open func layoutSubviews()
-
Undocumented
Declaration
Swift
@MainActor open func numberOfSections(in collectionView: UICollectionView) -> Int
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize
-
Undocumented
Declaration
Swift
@MainActor open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForFooterInSection section: Int) -> CGSize