     /**
     Adds a pinch gesture recognizer to the receiver's view.
     
+        let f = C4Rect(0,0,100,100)
+        let v = C4View(frame: f)
+        v.addPinchGestureRecognizer { scale, velocity, state in
+            println("pinched")
+        }
+
     :param: action A block of code to be executed when the receiver recognizes a pinch gesture.
     :returns: A UIPinchGestureRecognizer that can be customized.
     */

        }
    }

    public func bringToFront<T>(subview:T) {
        if let v = subview as? UIView {
            view.bringSubviewToFront(v)

    /**
    Adds a rotation gesture recognizer to the receiver's view.
    
        let f = C4Rect(0,0,100,100)
        let v = C4View(frame: f)
        v.addRotationGestureRecognizer { rotation, velocity, state in
            println("rotated")
        }

    :param: action A block of code to be executed when the receiver recognizes a rotation gesture.
    :returns: A UIRotationGestureRecognizer that can be customized.
    */
