开发者

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. B开发者_JAVA技巧ecause re-recreate all entities is boring :-)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜