Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
045d11c6b1 | ||
|
|
457fd53024 | ||
|
|
ffbfd5f85b | ||
|
|
26f9ffab71 | ||
|
|
c44863dc7a | ||
|
|
3264053f14 | ||
|
|
4c6cb28aaa |
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'FoldingCell'
|
||||
s.version = '0.8.1'
|
||||
s.version = '0.8.5'
|
||||
s.summary = 'UITableViewCell with folding animation.'
|
||||
s.homepage = 'https://github.com/Ramotion/folding-cell'
|
||||
s.license = 'MIT'
|
||||
|
||||
@@ -54,9 +54,20 @@ public class FoldingCell: UITableViewCell {
|
||||
|
||||
// MARK: life cicle
|
||||
|
||||
required public init?(coder aDecoder: NSCoder) {
|
||||
super.init(coder: aDecoder)
|
||||
}
|
||||
|
||||
override public func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
|
||||
commonInit()
|
||||
}
|
||||
|
||||
/**
|
||||
Call this method in methods init(style: UITableViewCellStyle, reuseIdentifier: String?) after creating Views
|
||||
*/
|
||||
public func commonInit() {
|
||||
configureDefaultState()
|
||||
|
||||
self.selectionStyle = .None
|
||||
@@ -64,6 +75,7 @@ public class FoldingCell: UITableViewCell {
|
||||
containerView.layer.cornerRadius = foregroundView.layer.cornerRadius
|
||||
containerView.layer.masksToBounds = true
|
||||
}
|
||||
|
||||
|
||||
// MARK: configure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user