I cannot for the life of me find where to set the delete rules for Core Data in Xcode 4.3.2 Not in file inspector, not in Core Data Model inspector, nor when I click anything, like the entities, relationships, et al. And believe me, I have clicked everything I could see. Please Help. Where and How do I set the delete rules. I want to set it to Cascade... Thanks
我不能为我的生活找到设置为核心数据删除规则在Xcode中4.3.2文件检查器,不是在核心数据模型检查器,也当我点击任何东西,像实体,关系,等。相信我,我已经点击我能看到的一切。请帮助。在何处以及如何设置删除规则。我想把它设置为层叠……谢谢
2 个解决方案
#1
2
Select your relationship and select the "Data Model Inspector" tab on the right pane, it should look like this:
选择您的关系并在右边窗格中选择“数据模型检查器”选项卡,应该如下所示:
Delete rules are the the second option from the bottom.
从底部删除规则是第二个选项。
#2
1
You have to open the Core Data Model file in XCode, select your relationship (obviously attributes don't have delete rules), go to the 3rd tab in the inspector panel on the right and choose your delete rule:
你必须在XCode中打开Core Data模型文件,选择你的关系(显然属性没有删除规则),到右边的inspector面板的第三个选项卡,选择你的删除规则:
#1
2
Select your relationship and select the "Data Model Inspector" tab on the right pane, it should look like this:
选择您的关系并在右边窗格中选择“数据模型检查器”选项卡,应该如下所示:
Delete rules are the the second option from the bottom.
从底部删除规则是第二个选项。
#2
1
You have to open the Core Data Model file in XCode, select your relationship (obviously attributes don't have delete rules), go to the 3rd tab in the inspector panel on the right and choose your delete rule:
你必须在XCode中打开Core Data模型文件,选择你的关系(显然属性没有删除规则),到右边的inspector面板的第三个选项卡,选择你的删除规则: