Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. ### DataModel Relationships
  2. * In the data model file, on the bottom right `Editor Style`, toggle to Graph Mode
  3. * To add a new object to the graph, click on `Add Entity` (lower left side)
  4. * **Make sure to have the inspector tab open**
  5. * Add a name to the model
  6. * To add an attribute to the model: click `add attribute` (lower right)
  7. * Make sure to add `Attribute Type` in the `inspector tab` to prevent xcode from error-ing
  8. * To add a relationship to the model, click on the model and `control` drag to the parent model
  9. * 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