jchatard
jchatard

Reputation: 1881

Can CoreData models be exported to use in another app?

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 :-)

Upvotes: 3

Views: 802

Answers (1)

TechZen
TechZen

Reputation: 64428

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

Upvotes: 2

Related Questions