显示CoreData记录 [英] Display CoreData Records

查看:99
本文介绍了显示CoreData记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Coredata创建应用程序。
我创建一个XML文件并将所有数据存储到XML文件中。
然后使用coredata将它们存储到数据库中。
现在我想查看核心数据中的所有记录。
我的应用程序创建一个sqlite文件。
但是如果我在sqlite中使用select命令,则没有显示记录。
但它显示没有错误。
如果有任何方式来查看我的记录从核心数据或从Sqlite?

I create an application using Coredata. I create a XML file and store all data into XML file. Then using coredata i store them into Database. Now i want to view the all records from core data. My application create a sqlite file. But if i use select command in sqlite, there is no records displayed. But It shows "no errors". If there is any way to view my records from core data or from Sqlite?

如果任何人知道解决方案,请帮助我。

If anybody know the solution, please help me.

谢谢。

推荐答案

我面临同样的问题,需要调查sqlite db由coredata创建。我使用免费的Sqlite数据库浏览器。 http://sqlitebrowser.sourceforge.net/

I faced the same issue, and need to investigated the sqlite db created by coredata. I used the free Sqlite database browser. http://sqlitebrowser.sourceforge.net/

浏览到sqlite文件所在的路径。

And browsed to the path where the sqlite file is.

这篇关于显示CoreData记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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