title: NSTextField GotFocus Event Cocoa Swift
body: <p>In swift Cocoa is there an event that fires when a NSTextField gets focus for editing. I Come from C# which has GotFocus() and LostFocus() Events.</p>
  
  <p>For NSTextfield I could find only these functions which fire after one starts typing. Not as soon as focus is gained.</p>
  
  <pre><code> override func controlTextDidBeginEditing(obj: NSNotification) {
   }
  
   func control(control: NSControl, textShouldBeginEditing fieldEditor: NSText) -&gt; Bool {
  
   }
  </code></pre>
  
  <p>I Need this because as soon as someone starts editing, I want to show more detail. I have a simpler display name, and full name for editing.</p>
  
  <p>Thanks,</p>