Where are the relationship rules established in core data in xcode 4?
This question was asked earlier in March before the release of xCode 4, but it's still relevant and no longer protected by NDA. Where are the relationship rules established in core开发者_StackOverflow data in xcode 4 assigned? They've disappeared from the utility window. Many thanks,
In the main window of Xcode 4, in the upper right corner, select the right-most 'Utilities' view. You'll find what you need in the Plural: To-Many Relationship.
In graphical mode, you can ctl-drag between entities to establish a new relationship, then select the relationship itself in the graphical entity to reveal/edit relationship information in the Utility view. Alternatively, you can switch "Editor Style" (bottom-right of editor) to Table mode and edit relationships that way.
I'll say it: Xcode 4.0 seems about half-baked. A lot of us were surprised when Apple released it.
精彩评论