title: Restricting NSTextField input to alpha-numeric
body: <p>I'm making a simple app in which there is an <code>NSTextField</code> and I want only alpha-numeric characters in it while typing.</p>
  
  <p>Can anyone suggest an approach to this please?</p>