4 Commits

Author SHA1 Message Date
superpeteblaze 215aadd502 Bump version, update podspec 2017-11-08 14:16:05 +00:00
Pete Smith e8ec9ebc74 Merge pull request #19 from cs-joao-souza/master
Variable modifications
2017-11-08 14:13:50 +00:00
João Pedro 8157c8d465 Variable modifications
Change currentCenterCell to open var;
Change currentCenterCellIndex to open var;
2017-11-06 13:44:44 -02:00
Pete Smith f658f94c69 Fix v2.0 release 2017-11-02 09:42:34 +07:00
4 changed files with 5 additions and 5 deletions
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'ScalingCarousel'
s.version = '2.0'
s.version = '2.0.2'
s.summary = 'A super simple carousel view with scaling transitions written in Swift'
s.description = <<-DESC
@@ -31,7 +31,7 @@ open class ScalingCarouselView: UICollectionView {
}
/// Returns the current center cell of the carousel if it can be calculated
public var currentCenterCell: UICollectionViewCell? {
open var currentCenterCell: UICollectionViewCell? {
let lowerBound = inset - 20
let upperBound = inset + 20
@@ -50,7 +50,7 @@ open class ScalingCarouselView: UICollectionView {
}
/// Returns the IndexPath of the current center cell if it can be calculated
public var currentCenterCellIndex: IndexPath? {
open var currentCenterCellIndex: IndexPath? {
guard let currentCenterCell = self.currentCenterCell else { return nil }
return indexPath(for: currentCenterCell)