         }
     }
 }
-
-extension Drop {
-    private class func statusBarHeight() -> CGFloat {
-        return UIApplication.sharedApplication().statusBarFrame.size.height
-    }
-}

    }
    
    private func updateHeight() {
        let calculatedHeight = self.statusLabel.frame.size.height + Drop.statusBarHeight() + statusTopMargin + statusBottomMargin
        heightConstraint.constant = calculatedHeight > minimumHeight ? calculatedHeight : minimumHeight
        self.layoutIfNeeded()
    }
}

    private var heightConstraint: NSLayoutConstraint!
    private let statusTopMargin: CGFloat = 10.0
    private let statusBottomMargin: CGFloat = 10.0
    private var minimumHeight: CGFloat { return UIApplication.sharedApplication().statusBarFrame.height + 44.0 }
    private var upTimer: NSTimer?
    private var startTop: CGFloat?
    
