From 8a2d2c9233a44261e3b8ce76d6f445cd3e565aea Mon Sep 17 00:00:00 2001 From: Damodaram Date: Mon, 21 Dec 2020 17:28:40 +0530 Subject: [PATCH] changes in access specifier --- MVMCoreUI/BaseClasses/UICollectionViewLeftAlignedLayout.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/BaseClasses/UICollectionViewLeftAlignedLayout.swift b/MVMCoreUI/BaseClasses/UICollectionViewLeftAlignedLayout.swift index 717bbc55..080b4e88 100644 --- a/MVMCoreUI/BaseClasses/UICollectionViewLeftAlignedLayout.swift +++ b/MVMCoreUI/BaseClasses/UICollectionViewLeftAlignedLayout.swift @@ -9,8 +9,8 @@ import Foundation -class UICollectionViewLeftAlignedLayout: UICollectionViewFlowLayout { - override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? { +public class UICollectionViewLeftAlignedLayout: UICollectionViewFlowLayout { + public override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? { guard let attributes = super.layoutAttributesForElements(in: rect) else { return nil } var newAttributesForElementsInRect = [UICollectionViewLayoutAttributes]() for attribute in attributes {