title: Position of window in Cocoa
body: <p>i have simple question: How to get position of window on screen in cocoa?
  I try using frame from NSWindow but in result i have x and y of window always 0, but my window isn't on this position.</p>
  
  <p>Best regards
  Chudziutki</p>