Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16fa9ad54d | ||
|
|
40d58abd2b |
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'FoldingCell'
|
||||
s.version = '3.0.1'
|
||||
s.version = '3.0.2'
|
||||
s.summary = 'UITableViewCell with folding animation.'
|
||||
s.homepage = 'https://github.com/Ramotion/folding-cell'
|
||||
s.license = 'MIT'
|
||||
|
||||
@@ -314,11 +314,7 @@ open class FoldingCell: UITableViewCell {
|
||||
removeImageItemsFromAnimationView()
|
||||
addImageItemsToAnimationView()
|
||||
|
||||
guard let animationView = self.animationView else {
|
||||
return
|
||||
}
|
||||
|
||||
animationView.alpha = 1
|
||||
animationView?.alpha = 1
|
||||
containerView.alpha = 0
|
||||
|
||||
let durations = durationSequence(.open)
|
||||
@@ -346,7 +342,7 @@ open class FoldingCell: UITableViewCell {
|
||||
delay += durations[index]
|
||||
}
|
||||
|
||||
let firstItemView = animationView.subviews.filter { $0.tag == 0 }.first
|
||||
let firstItemView = animationView?.subviews.filter { $0.tag == 0 }.first
|
||||
|
||||
firstItemView?.layer.masksToBounds = true
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + durations[0], execute: {
|
||||
|
||||
Reference in New Issue
Block a user