UICollectionView
extension UICollectionView
UICollectionView helper extensions
-
Dequeue a reusable cell based on the name of the type.
Declaration
Swift
func dequeueReusableCell<T>(for indexPath: IndexPath) -> T where T : ReuseIdentifiable
-
Register cell based on the name of the type.
Declaration
Swift
func register<T>(_ cellType: T.Type) where T : ReuseIdentifiable