title: How to select a UITextField with IBAction to make it FirstResponder?
body: <p>I have implemented multiple <code>TextFields</code> in a static <code>TableViewController</code> like this:</p>
  <pre><code>import UIKit
  
  class GameViewController: UITableViewController, UITextFieldDelegate {
      @IBOutlet weak var inputField11:UITextField?
      @IBOutlet weak var inputField12:UITextField?
      ...
      override func viewDidLoad() {
          super.viewDidLoad()
          inputField11!.delegate = self
          inputField12!.delegate = self
          ...
          inputField11?.becomeFirstResponder()
      }
  }
  </code></pre>
  <p>I can't seem to find a way to implement a way to change the active <code>TextField</code> with an <code>IBAction</code>.
  I have an <code>inputFieldDidChange</code> <code>IBAction</code> method implemented that works fine, triggered by &quot;Editing Changed&quot; in the storyboard:</p>
  <pre><code>@IBAction func inputFieldDidChange(inputField: UITextField?) {
      switch inputField {
          case inputField11:
              inputField12?.becomeFirstResponder()
          case inputField12:
              inputField13?.becomeFirstResponder()
          ...
  }
  </code></pre>
  <p>But for some reason the same implementation method doesn't work for my <code>inputFieldSelected</code> method, triggered by &quot;Touch Down&quot;:</p>
  <pre><code>@IBAction func inputFieldSelected(inputField: UITextField?) {
      switch inputField {
          case inputField11:
              inputField11?.becomeFirstResponder()
          case inputField12:
              inputField12?.becomeFirstResponder()
          ...
      }
  }
  </code></pre>
  <p>I also tried doing this with &quot;Touch Up Inside&quot;, &quot;Editing Did Begin&quot; and tap gesture recognizers.</p>