你可以在新的应用程序中使用现有的核心数据数据模型吗? [英] Can You Use an Existing Core Data DataModel in a New App?

查看:84
本文介绍了你可以在新的应用程序中使用现有的核心数据数据模型吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在新的iPhone应用程序中使用现有的Core Data模型结构,或者必须手动重新创建所有的entities \attributes?

Is it possible to use an existing Core Data model structure in a new iPhone application or do I have to manually re-create all the entities\attributes? If so, how do I bring it into the new application?

推荐答案

您是否尝试将xcdatamodeld文件与所有模型一起复制一个应用程序到另一个?此外,这是Mac或iOS吗?

Have you tried copying the xcdatamodeld file along with all models from one app to the other? Also, is this for Mac or iOS?

这篇关于你可以在新的应用程序中使用现有的核心数据数据模型吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆