     }
 
     private func fractionRevealed() -> CGFloat {
-        return min(CGRectGetHeight(bounds) / contentHeight, 1.0)
+        return min(CGRectGetHeight(bounds) / contentHeight, 1)
     }
 
     // MARK: - Applyied Insets


private var ContentOffsetContext = 0

private let DefaultContentHeight: CGFloat = 64.0

public class StickyHeaderView: UIView {
    // MARK: - Init

    
    public func setRevealed(revealed: Bool, animated: Bool) {
        if animated {
            UIView.animateWithDuration(0.2, delay: 0, options: .BeginFromCurrentState | .CurveEaseInOut, animations: {
                self.revealed = revealed
            }, completion: nil)
        } else {
