title: How to get focus ring off an NSAlert button?
body: <p>Is there any way that you can take away the focus ring of the NSAlert button. Here is what I mean: </p>
  
  <p><img src="https://i.stack.imgur.com/XaRBc.png" alt="Focus ring annoyingly appears on NSAlert button"></p>
  
  <p>Here is my code:</p>
  
  <pre><code>[NSApp activateIgnoringOtherApps:YES];
  NSAlert *alert = [[[NSAlert alloc] init] autorelease];
  [alert addButtonWithTitle:@"Quit"];
  [alert addButtonWithTitle:@"Cancel"];
  [alert setMessageText:@"Warning!"];
  [alert setInformativeText:@"How do you solve this question?"];
  [alert setAlertStyle:NSWarningAlertStyle];
  [alert beginSheetModalForWindow:nil modalDelegate:self didEndSelector:@selector(someMethodDidEnd:returnCode:contextInfo:) contextInfo:nil];
  </code></pre>