Core Data cannot resolve faults when object has “description” attribute?

后端 未结 3 358
离开以前
离开以前 2021-01-21 01:39

Code:

NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];

NSEntityDescription *entity = [NSEntityDescription entityForName:@\"A\"
                             


        
3条回答
  •  一生所求
    2021-01-21 02:38

    you need to treat description as a reserved word. That is the issue you are having. You should have received a warning when you tried to have a property called description.

提交回复
热议问题