title: Prevent iCloud window from opening on OSX 10.8 app launch
body: <p>I have written an OSX app that uses iCloud document storage.  Whenever I open it in Mountain Lion (not on Lion), an iCloud window opens that looks like the following:</p>
  
  <p><img src="https://i.stack.imgur.com/ZDedQ.png" alt="enter image description here"></p>
  
  <p>Is there a way to prevent this from happening on launch?</p>
  
  <p><strong>Updates:</strong></p>
  
  <p>1) <code>applicationShouldOpenUntitledFile:</code> is not getting called (yes, I'm sure I'm listening in my delegate.<br>
  2) If I force quit the app, the next time it opens, I don't get the dialog.  But, if I go through the normal Quit process, it does appear.</p>
  
  <p><strong>Update 2 (also added as an answer, to help people that may stumble across this question in the future):</strong>
  The <code>applicationShouldOpenUntitledFile:</code> from the duplicate question was not working.  After lots of experimentation, I figured out that if I remove the <code>NSDocumentClass</code> key and value from my Info.plist in the <code>CFBundleDocumentTypes</code> array, the window is no longer opened.  I've added that answer to the duplicate question as well.</p>