title: UITextField inputView is not working in Swift
body: <p>I am trying to set <code>inputView</code> &amp; <code>inputAccessoryView</code> for <code>UITextField</code>. But, as I start tap on textField only <code>inputAccessoryView</code> is come from bottom.</p>
  
  <p>Following is my code:</p>
  
  <pre><code>@IBOutlet weak var pickerView: UIPickerView!
  @IBOutlet weak var textField: UITextField!
  @IBOutlet weak var toolBar: UIToolbar!
  
  override func viewDidLoad() {
      super.viewDidLoad()
      self.textField.inputView = self.pickerView;
      self.textField.inputAccessoryView = self.toolBar;
  }
  </code></pre>
  
  <p>Thanks in advance.</p>