     let top: CAShapeLayer! = CAShapeLayer()
     let middle: CAShapeLayer! = CAShapeLayer()
     let bottom: CAShapeLayer! = CAShapeLayer()
-    let width: Float = 18
-    let height: Float = 16
-    let topYPosition: Float = 2
-    let middleYPosition: Float = 7
-    let bottomYPosition: Float = 12
+    let width: CGFloat = 18
+    let height: CGFloat = 16
+    let topYPosition: CGFloat = 2
+    let middleYPosition: CGFloat = 7
+    let bottomYPosition: CGFloat = 12
 
     init(frame: CGRect) {
         super.init(frame: frame)

    }

    func commonInit() {
        let lineWidth: Float = 2

        let path = UIBezierPath()
        path.moveToPoint(CGPoint(x: 0, y: 0))


        for shapeLayer in [top, middle, bottom] {
            shapeLayer.path = path.CGPath
            shapeLayer.lineWidth = lineWidth
            shapeLayer.strokeColor = UIColor.whiteColor().CGColor

            // Disables implicit animations.
