Swift NSWindow fixed position
<p>I am creating an OSX App in Swift.</p>

<p>What I want is: when I press the icon in the mac top bar I want the window to be exactly underneath the icon like most preferences app do.</p>

<p>Thanks,</p>