Compare commits

..
2 Commits
Author SHA1 Message Date
Alex K 16fa9ad54d remove unused code 2018-02-14 09:32:32 +03:00
Alex K 40d58abd2b update podspec 2018-02-07 11:53:05 +03:00
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -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'
+2 -6
View File
@@ -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: {