title: Lookup tables in Core Data
body: <p>Core data is not a database and so I am getting confused as to how to create, manage or even implement Lookup tables in core data.</p>
  <p>Here is a specific example that relates to my project.</p>
  <blockquote>
  <p>Staff (1) -&gt; (Many) Talents (1)</p>
  </blockquote>
  <p>The <code>talents</code> table consists of:</p>
  <blockquote>
  <p>TalentSkillName (String)</p>
  <p>TalentSkillLevel (int)</p>
  </blockquote>
  <p>But I do not want to keep entering the <code>TalentSkillName</code>, so I want to put this information into another, separate table/entity.</p>
  <p>But as Core Data is not really a database, I'm getting confused as to what the relationships should look like, or even if Lookup tables should even be stored in core data.</p>
  <p>One solution I'm thinking of is to use a PLIST of all the TalentSkillNames and then in the Talents entity simply have a numeric value which points to the PLIST version.</p>
  <p>Thanks.</p>
  <p>I've added a diagram which I believe is what you're meant to do, but I am unsure if this is correct.</p>
  <p><img src="https://i.stack.imgur.com/q64cD.png" alt="Entity" /></p>