From c125f526956e81c58e002917357b20d533364bd3 Mon Sep 17 00:00:00 2001 From: Arnaud Dorgans Date: Wed, 3 Jan 2018 11:02:50 +0100 Subject: [PATCH] fix open var --- InfiniteLayout.podspec | 2 +- InfiniteLayout/Classes/InfiniteCollectionView.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/InfiniteLayout.podspec b/InfiniteLayout.podspec index 866bd04..2a9fccc 100644 --- a/InfiniteLayout.podspec +++ b/InfiniteLayout.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'InfiniteLayout' - s.version = '0.1.5' + s.version = '0.1.6' s.summary = 'Horizontal and Vertical infinite scrolling feature for UICollectionView' # This description is used to generate tags and improve search results. diff --git a/InfiniteLayout/Classes/InfiniteCollectionView.swift b/InfiniteLayout/Classes/InfiniteCollectionView.swift index 4dbbdf1..ef25775 100644 --- a/InfiniteLayout/Classes/InfiniteCollectionView.swift +++ b/InfiniteLayout/Classes/InfiniteCollectionView.swift @@ -21,8 +21,8 @@ open class InfiniteCollectionView: UICollectionView { open var centeredIndexPath: IndexPath? - @IBInspectable var isItemPagingEnabled: Bool = false - @IBInspectable var velocityMultiplier: CGFloat = 500 { + @IBInspectable open var isItemPagingEnabled: Bool = false + @IBInspectable open var velocityMultiplier: CGFloat = 500 { didSet { self.infiniteLayout.velocityMultiplier = velocityMultiplier }