UICollectionView
class UICollectionView : UIScrollView, UIDataSourceTranslating
-
Dequeues a reusable collection view cell.
Declaration
Swift
public func dequeueReusableCell<T>(forIndexPath indexPath: IndexPath) -> T where T : ReusableViewParameters
indexPathThe index path.
Return Value
The collection view cell.
-
Registers the collection view cell with its reuseidentifier.
Declaration
Swift
public func registerCell<T>(cellClass: T.Type) where T : ReusableView
UICollectionView Extension Reference