title: NSTextField enter to trigger action
body: <p>I've been looking all over for a simple example of how to have an action (or button) be triggered when the enter key is hit in the text field.</p>
  
  <p>Should I subclass the text field? Would I need to set a delegate to call the action I need? Is there a way to catch the event in my main window controller class?</p>
  
  <p>If you could even just point me to the right direction that would be great. Thanks.</p>