     
     override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
         currentOrientation = UIDevice.currentDevice().orientation
-    }
-    
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
     }
     
     deinit {

    }
    
    func keyboardWillHide(notification: NSNotification) {
        
        let info = notification.userInfo!
        // let keyboardFrame: CGRect = (info[UIKeyboardFrameEndUserInfoKey] as! NSValue).CGRectValue()
        let animationDuration: NSTimeInterval = (info[UIKeyboardAnimationDurationUserInfoKey])!.doubleValue
        
        
        self.middleLayoutContraint.constant = 0
        UIView.animateWithDuration(animationDuration, animations: { () -> Void in

                // Test that URL actually exists by sending a URL request that returns only the header response
                self.urlTextField.text = cleanString
                
                self.activityIndicator.startAnimating()
                do  {
                    
                    let url = try NSURL.validateUrl(cleanString)
                    let request = NSMutableURLRequest(URL: url)
