             print("CANNOT CONTINUE WITHOUT NO INCREMENTAL VALUE")
             return
         }
-//        print(incrementalSettings)
-        
         self.delegate = delegate
         originalConstant = verticalConstraint.constant
         self.verticalConstraint = verticalConstraint

import UIKit

protocol BarcelonetaDelegate:class {
    func barcelonetaDidMovedUp()
    func barcelonetaDidMovedDown()
    func barcelonetaDidRestore()
    func barcelonetaDidChangeValue(view:Barceloneta,value:Double)
    func barcelonetaDidRelease(view:Barceloneta)
    func barcelonetaDidReachNewIncrementalSetting(view:Barceloneta, incrementalSetting:(range:Range<Int>,value:Double))

        
        UIView.animateWithDuration(0.5, delay: 0, usingSpringWithDamping: 0.2, initialSpringVelocity: 25, options: UIViewAnimationOptions.AllowUserInteraction, animations: { () -> Void in
            self.superview!.layoutIfNeeded()
        }) { _ in
            self.delegate?.barcelonetaDidRelease(self)
        }
    }
}