Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 215aadd502 | |||
| e8ec9ebc74 | |||
| 8157c8d465 | |||
| f658f94c69 |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user