From 9089ff9e5c6a9ab33e3385153b797cb0166414a5 Mon Sep 17 00:00:00 2001 From: Mayur Date: Wed, 26 Jul 2017 12:22:11 +0530 Subject: [PATCH] - Fixed a protocol requirement in JTAppleCalendarLayoutProtocol to its updated signature. This fixes a compile-time error such as the one referenced in issue #501 --- Sources/JTAppleCalendarLayoutProtocol.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/JTAppleCalendarLayoutProtocol.swift b/Sources/JTAppleCalendarLayoutProtocol.swift index 3aeb343a..d5b6b771 100644 --- a/Sources/JTAppleCalendarLayoutProtocol.swift +++ b/Sources/JTAppleCalendarLayoutProtocol.swift @@ -28,7 +28,7 @@ protocol JTAppleCalendarLayoutProtocol: class { var minimumLineSpacing: CGFloat {get set} var sectionInset: UIEdgeInsets {get set} var scrollDirection: UICollectionViewScrollDirection {get set} - func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: CGPoint) -> CGPoint + func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? }