From 707f256a39aa3d5f9bfc312421d85aa1e673a2b9 Mon Sep 17 00:00:00 2001 From: "Tondapu, Alekhya" Date: Thu, 22 Jul 2021 00:01:53 +0530 Subject: [PATCH] removed unused code --- MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift b/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift index 98f0e320..3de10dad 100644 --- a/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift +++ b/MVMCoreUI/Atomic/Organisms/Carousel/Carousel.swift @@ -387,10 +387,6 @@ open class Carousel: View { } extension Carousel: UICollectionViewDelegateFlowLayout { - open func numberOfSections(in collectionView: UICollectionView) -> Int { - return 1 - } - open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { let itemWidth = collectionView.bounds.width * itemWidthPercent return CGSize(width: itemWidth, height: collectionView.bounds.height)