     
     // MARK: public
     
-    func selectedAnimation(isSelected: Bool, animated: Bool, completion: CompletionHandler?) {
+    public func selectedAnimation(isSelected: Bool, animated: Bool, completion: CompletionHandler?) {
         if isSelected {
             containerView.alpha = 1;
             for subview in containerView.subviews {

        }
    }
    
    func isAnimating()->Bool {
        for item in animationItemViews! {
            if item.layer.animationKeys()?.count > 0 {
                return true


import UIKit

public class FoldingCell: UITableViewCell {
    
    public typealias CompletionHandler = () -> Void

    @IBOutlet weak var containerView: UIView!
    @IBOutlet weak var foregroundView: RotatedView!
