Problems retrieving NSDate object from Core Data using KVC

为君一笑 提交于 2019-12-01 13:19:46
Martin R

You must not call a managed object attribute "updated", that conflicts with the isUpdated method of NSManagedObject.

Similar problems occur if you call and attribute "deleted", compare Core Data NSPredicate "deleted == NO" does not work as expected for a short analysis.

Renaming the attribute should solve your problem. Unfortunately, Xcode does not warn about that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!