CarouselCollectionViewLayoutDataSource
public protocol CarouselCollectionViewLayoutDataSource : AnyObject
Data source for custom carousel collection view layout
-
Method to provide any sort of transform that should be applied to the carousel cell
Declaration
Swift
func carouselLayout(_ layout: CarouselCollectionViewLayout, transformForItemAt indexPath: IndexPath) -> CGAffineTransformParameters
layoutcarousel collection view layout instance
indexPathindex path of cell