title: Core Data Entity Relationship like Array inside Entity?
body: <p>So I am making a todo like app. Now I have made the app I want to add a functionality where each task can have subtasks like:</p>
  
  <p>Task: Book Report 
  Sub Tasks:
       - Get Information
       - Summarise and Print information
       - Stick information to paper</p>
  
  <p>To clarify I kind of want the core data entity to function as if it were an array.</p>
  
  <p>Now I tried attempting this myself and I did it but what happened was that the when I would add a task and delete the task, the subtasks would still be there.</p>
  
  <p>I am really confused on how I need to setup my entity. Any help is appreciated!
  Thanks!</p>