问题描述
我目前正在决定是否使用Core Data来管理我的iphone应用程式中的资料。
这个应用程式包含一个公平的大量的内容库,需要本地化并具有相当少的关系。我认为使用核心数据的一个好处是我可能建立一个桌面客户端来管理应用程序的数据,然后用iPhone应用程序打包生成的文件以用作其内容数据库。
由于我对Core Data的相当有限的知识,我想知道这是否可能?
这基本上是这个问题的欺骗: / p>
短回答是 - 是。我做到了,苹果做到了。效果很好。
I'm currently in the process of deciding whether or not to use Core Data for managing the data in my iphone application.
The application involves putting together a fairly sizeable library of content which needs to be localised and has a fair few relationships. One benefit I thought of using core data would be that I could perhaps build a desktop client for managing the data of the application, then package the resulting file with the iPhone app to use as its content database.
With my fairly limited knowledge of Core Data I wanted to know if this is possible? Are their any best-practices people can point me in the direction of?
This is basically a dupe of this question:
Provide Base Data for Core Data Application?
Short answer is - YES. I've done it, Apple does it. Works well.
这篇关于核心数据:是否可以构建一个桌面应用程序来为使用Core Data的iPhone应用程序创建数据模型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!