title: Displaying a Cocoa Window as a Sheet in Xcode 4 (OSX 10.7.2) with ARC
body: <p>I'm trying to get a Login Window to display as a sheet from my MainWindow, but whenever I try to implement the AppKit methods an error always pops up for various indistinguishable reasons.</p>
  
  <p>None of the online guides out there are working, when i apply their code / adapted classes to my own project they never work.</p>
  
  <p>Most of the guides are heavily outdated, including the Apple Documentation. And none of them seem to be compatible with Automatic Reference Counting. Or the Xcode 4 interfaces.</p>
  
  <p>Would someone be able to detail for me in full a guide, for the simplest way of displaying a sheet following a button press on the MainWindow.</p>
  
  <p>Feel free to ask for more information if you need it.</p>