I have a project that uses Core Data.
When the app runs for the first time, do I have to copy the model to the Documents folder, so that the user can make changes?
Thanks,
RL
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
possibly.
if you are starting out with a pre-existing dataset, you can include the default dataset in the app bundle, and copy it to the document directory, where it will be writable.
however if it is starting as an empty store, it will automatically be created in the right place in the current Xcode templates.