CoreData issue: -[NSManagedObject setValue:]: unrecognized selector sent to instance

后端 未结 8 755
温柔的废话
温柔的废话 2021-02-05 08:29

I just started with CoreData yesterday, and I\'m going crazy :( I created a project that uses CoreData (ticked the box -use CoreData). Created the entities, and then created the

8条回答
  •  感动是毒
    2021-02-05 08:59

    I found that by having relations to entities I had to make sure some of my relations would be to-many, I took a screenshot so you can see what I mean, a to-many relation is indicated by the double ended arrow

    enter image description here

提交回复
热议问题