开发者

Can CoreData models be exported to use in another app?

开发者 https://www.devze.com 2023-01-08 06:39 出处:网络
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 mode

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

精彩评论

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