 
     @IBOutlet weak var useMyLocationButton: UIButton!
     @IBOutlet weak var addressTextField: UITextField!
+    
+    override func viewDidLoad() {
+        addressTextField.delegate = self
+    }
 
     override func viewWillAppear(_ animated: Bool) {
         super.viewWillAppear(animated)

            submitButton.isEnabled = addressLength > 0
        }
    }

    //MARK: - CLLocationManagerDelegate methods
    

    func editLocationViewControllerDidCancel(_ vc: EditLocationViewController)
}

class EditLocationViewController : UIViewController, CLLocationManagerDelegate, UITextFieldDelegate {
    weak var delegate: EditLocationViewControllerDelegate?
    private var lookupLocation: CLLocation?
    @IBOutlet weak var addressLabel: UILabel!
