title: NSWindowDelegate : windowDidBecomeKey vs windowDidBecomeMain
body: <p>What is the difference between <strong>windowDidBecomeKey:</strong> and <strong>windowDidBecomeMain:</strong> notifications?</p>
  
  <p>In other words, I want to know that "what is the key window" and "what is the main window".</p>