title: Swift: Add Action to a Table View Cell when value entered
body: <p>I have a Table View Cell and have added an action to it that I want to execute when a value is changed.</p>
  
  <p><a href="https://i.stack.imgur.com/9eD93.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9eD93.png" alt="enter image description here"></a></p>
  
  <p>I have added the action method in the viewController</p>
  
  <pre><code>@IBAction func valueEntered(sender: NSTextFieldCell)
  {
  
      print("valueEntered")
  
  }
  </code></pre>
  
  <p>I can edit the Table View Cell by double clicking on it, but my method is never called. </p>
  
  <p>I know I have done this before but I must be missing a step.</p>