docs/docsets/FoldingCell.docset/Contents/Resources/Documents/Classes/FoldingCell.html
public class FoldingCell: UITableViewCell
UITableViewCell with folding animation
`
containerView
`
UIView whitch display when cell open
Swift
@IBOutlet weak public var containerView: UIView!
`
foregroundView
`
UIView whitch display when cell close
Swift
@IBOutlet weak public var foregroundView: RotatedView!
`
itemCount
`
the number of folding elements. Default 2
Swift
@IBInspectable public var itemCount: NSInteger = 2
`
backViewColor
`
The color of the back cell
Swift
@IBInspectable public var backViewColor: UIColor = UIColor.brownColor()
`
AnimationType
`
Folding animation types
Swift
public enum AnimationType
[
](#/%20life%20cicle)
`
commonInit()
`
Call this method in methods init(style: UITableViewCellStyle, reuseIdentifier: String?) after creating Views
Swift
public func commonInit()
[
](#/public)
`
selectedAnimation(_:animated:completion:)
`
Open or close cell
Swift
public func selectedAnimation(isSelected: Bool, animated: Bool, completion: (Void -> Void)?)
| isSelected |
Specify true if you want to open cell or false if you close cell.
|
| animated |
Specify true if you want to animate the change in visibility or false if you want immediately.
|
| completion |
A block object to be executed when the animation sequence ends.
|
© 2016 AlexKalinkin. All rights reserved. (Last updated: 2016-06-15)
Generated by jazzy ♪♫ v0.5.0, a Realm project.