Search code examples
objective-ccore-dataios4

does core data create a database for you?


does core data create a database table for you? I am new to core data and iphone programming and all the tutorials that I see bring in a pre populated database. I am trying to create an app that saves data (i.e. Dates and times) and I don't need to use a prepopulated database. I was wondering when you check the box to use core data, does it create an empty database for you or do you have to create a database table with all the empty fields you need and bring in that sqlite file? This probably sounds like a newb question but I appreciate any help you can give me.


Solution

  • Yes, it creates a table for you. You don't need to mess with such these things.
    Here is the best starting tutorial: Core Data Programming Guide
    When you know these informations, then you can head and learn more from other tutorials. You will have a different look at them.