Core Data Relationship Fault

后端 未结 1 1226
予麋鹿
予麋鹿 2021-01-04 10:26

Tracking a familial relationship in Core Data (1 parent entity + 2 types of children, one of which is recursive), trying to create a drop-menu in Interface Builder that list

相关标签:
1条回答
  • 2021-01-04 10:45

    A fault in Core Data is not an error, it just means that the what you are trying to access hasn't been retrieved from the database yet. If you do something like [fetchResults valueForKey:@"name"] it will fire and you should get what you expect. It shouldn't be a problem with your relationship model.

    By the way, "minCount 0, maxCount 0" seems weird. Is that really what you want? minCount of 0 and maxCount of 1 should make more sense.

    0 讨论(0)
提交回复
热议问题