title: Silence Cocoa error beep
body: <p>I have a Cocoa application that captures keypresses through a custom view in the view hierarchy. This view implements the <code>keyUp</code> and <code>keyDown</code> methods, and the keypresses are received. Even so, Cocoa still insists on playing the system error sound/ding every time I press a key. Any solutions?</p>
  
  <p>Note: Although I tried to make this view first responder, it didn't work. That may have something to do with it.</p>