NSMutableArray stored with core data = WORKS, but after changing array DOESN'T WORK

ぐ巨炮叔叔 提交于 2019-11-30 09:53:22

Changes inside of your Array are not going to work because Core Data cannot see into the array.

The short answer is don't do this. This is no reason ever to store an array (or dictionary for that matter) in Core Data.

Create a new entity in Core Data and create a relationship. If the order is important, put an order attribute in the child table.

Do not store arrays as binary objects.

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