Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### DataModel Relationships
- * In the data model file, on the bottom right `Editor Style`, toggle to Graph Mode
- * To add a new object to the graph, click on `Add Entity` (lower left side)
- * **Make sure to have the inspector tab open**
- * Add a name to the model
- * To add an attribute to the model: click `add attribute` (lower right)
- * Make sure to add `Attribute Type` in the `inspector tab` to prevent xcode from error-ing
- * To add a relationship to the model, click on the model and `control` drag to the parent model
- * Set up the relationship: in the `inspector tab`, set the `type` to either `to one` or `to many`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement