views:

20

answers:

1

Is there any way to export a CoreData model file (i.e entities description: *.xcdatamodeld) to another project. Because re-recreate all entities is boring :-)

+1  A: 

Yes, just add/copy the model file itself to the new project just like you would any other type of file. . You can even add/copy an existing store if the apps use the same initial data. I do this all the time

TechZen
Ok thanks! I thaugh I did test this, but didn't succeed, will try again!
jchatard
You can even link multiple projects to the same model file so that when that model changes all of the projects will see it.
Marcus S. Zarra