title: keyup keydown methods NSViewController
body: <p>I made an instance of NSViewController and added it as a subview to the main window's content view. I want to be able to capture keyboard events, but I have no idea how to implement it.After some research, I learned I needed to implement <code>acceptsFirstResponder</code> and the <code>keyUp:event:</code> and <code>keyDown:event:</code> methods in the NSViewController, but after that I still don't have the thing working.</p>
  
  <pre><code>- (void)applicationDidFinishLaunching:(NSNotification*)aNotification {
      /* GViewController subview of NSViewController */
      GViewController *g = [[GViewController alloc] initWithNibName:@"GViewController" bundle:nil];
      [contentView addSubview: g];
  }
  </code></pre>