Any way to pre populate core data?
问题 I\'ve been creating a list app and backing it with core data. I would like to have a default list of say 10 airport\'s items, so that the user doesn\'t have to start from scratch. Is there any way to do this? Any help is appreciated. Thanks in advance. 回答1: Here's the best way (and doesn't require SQL knowledge): Create a quick Core Data iPhone app (Or even Mac app) using the same object model as your List app. Write a few lines of code to save the default managed objects you want to the