     var rv : MyReverseView!
     var outer : UIView!
     var inner : UIView!
+    var lab : UILabel!
     var reverse : Bool = false
     
     override func viewDidLoad() {

        inner.leftAnchor.constraintEqualToAnchor(self.outer.leftAnchor).active = true
        inner.topAnchor.constraintEqualToAnchor(self.outer.topAnchor, constant: 10).active = true
    
    }

    override func didReceiveMemoryWarning() {

                f.origin.x = 0
                self.inner.frame = f
            }, completion: nil)
        
//        let lab2 = UILabel(frame: self.lab.frame)
//        lab2.text = self.lab.text == "Hello" ? "Howdy" : "Hello"
//        // lab2.sizeToFit()
//        
//        UIView.transitionFromView(self.lab, toView: lab2, duration: 2.0, options: .TransitionFlipFromLeft, completion: {
//            _ in
//            self.lab = lab2
//        })
    }
}
