带有两个 xcdatamodel 的 iphone coredata
我一直在使用核心数据(成功地;),遵循一些教程并获得所有内容,但现在我对我前段时间发现的一些基本教程有疑问(作者没有回应,所以我们开始吧!) 这是教程,其代码是 在本教程的此处
,有 2 个 xcdatamodels??,为什么?事件的时间戳是什么?我在sqlitemanager中检查了它,在创建一些数据后,时间戳没有保存任何内容,
- 那么离开Event实体是一个错误吗?及其数据模型? 还是我缺少什么?
谢谢你!
I've been working with core data (successfully ;) , following some tutorials and kind of getting all, but now I have a question about some basic tutorial I found some time ago (the author is not responding so here we go!)
this is the tutorial, and the code for it is here
in this tutorial, there are 2 xcdatamodels??, why? what is the timeStamp on the Event does?? I checked it in sqlitemanager, and after creating some data, timestamp doesnt save anything,
- so was it a mistake to leave the Event entity? with its datamodel?
or is there something Im missing?
thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来
CoreDataTutorialPart1.xcdatamodel
(包含Event
实体的模型文件)是由 Core Data Xcode 模板自动生成的,实际上并未在项目中的任何地方使用。It looks like
CoreDataTutorialPart1.xcdatamodel
(the model file containing theEvent
entity) was auto-generated by the Core Data Xcode template and isn't actually used anywhere in the project.