a guest Apr 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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`
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand