UIPickerView Pop-Up
<p>What is wrong with the code that I have produced? I am trying to get a <code>UIPickerView</code> to pop up when the textfield is tapped then go away once a selection is made. The textfield is supposed to present what was selected after. </p>

<pre><code>import UIKit

class CreateAJob_View_ControllerViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate {
    @IBOutlet var pickerTextField: UITextField!
    @IBOutlet var picker: UIPickerView!

    var pickerData:[String] = [String]()

    override func viewDidLoad() {
        super.viewDidLoad()
        picker.hidden = true;
        pickerTextField.text = "A4";

        self.pickerTextField.delegate = self
        self.picker.delegate = self
        self.picker.dataSource = self

         pickerData = ["A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","A10"]
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    func numberOfComponentsInPickerView(pickerView: UIPickerView) -&gt; Int {
        return 1
    }

    func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -&gt; Int {
        return pickerData.count
    }

    func pickerView(pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -&gt; String? {
        return pickerData[row]
    }

    func pickerView(pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        pickerTextField.text = pickerData[row];
        picker.hidden = true;
    }

    func textFieldShouldBeginEditing(textField: UITextField) -&gt; Bool {
        pickerTextField.hidden = false
        return false
    }
}
</code></pre>