title: Strange things creating a new document-based Cocoa application on Xcode
body: <p>I am new to cocoa development.</p>
  
  <p>I just created for the first time a new document type application using core data and notice a few strange things.</p>
  
  <ol>
  <li><p><code>AppDelegate</code> is practically empty, there is no code to create the core data store, the managedObjectContext, nothing.</p></li>
  <li><p>Two files were added: <code>Document.m</code> and <code>Document.h</code> that I understand is the model for dealing with the documents the app will create.</p></li>
  <li><p>Even with no visible core data initialization code, Xcode created a <code>.xddatamodeld</code> file and this is the strange part: Xcode named the file <code>Document.xcdatamodeld</code>. Normally Xcode would name that with the same name of the project. By naming it <code>Document</code> it is like saying that this model has something to do with <code>Document.m</code> and <code>Document.h</code>.</p></li>
  </ol>
  
  <p>Is 1 and 3 a bunch of nonsense from Xcode or am I missing something?</p>
  
  <p>Can you guys explain? Thanks.</p>