title: scalable windows in os x
body: <p>i'm trying to create a window that can be scaled, just like the iPhone/iPad simulator.  in the iPad simulator, you can select Window > Scale and select either 100% or 50%.</p>
  
  <p>is there a way to make an <code>NSWindow</code> do this?  i've looked at applying <code>scaleUnitSquareToSize</code> to the window's <code>contentView</code> but no matter what i do in InterfaceBuilder, the contentView keeps resizing itself to fill the window.  is this the correct behavior even after removing all struts for the contentView?</p>