Quote:
Originally Posted by michelle
Well you would need to either delete the one created in the docs directory or give the database a new name and redeploy to the device.
|
Hmmm... The reason I am asking is that when I run the app in the simulator, the database file does not exist yet in the documents folder. So as per the template, a blank db is copied from the applications bundle to the documents folder.
This blank db had to be created somehow. And that's my question: How do you initially create a blank database based on your xcdatamodel schema?