Can anyone help \'cos this is driving me nuts!
I have an app I am at the early stages of and it has a Data Model. So far it has only 5 entities and a few relationsh
Here is a little hack to fix this display bug in Xcode, which is typically due to corrupted data in YourApp/YourApp.xcdatamodeld/YourApp.xcdatamodel/layout
.
After quitting Xcode or closing the project, you can just delete this file (did not always work for me, sometimes the file is not there).
Alternatively, you can edit the file contents
in the same directory and simply delete the whole section labeled <elements> .... </elements>
. Your entities will all be on top of each other in the editor, but it should work now after rearranging them.