title: Child Context - Deleting Object Without Save?
body: <p>I'm creating a <code>recipe</code> object inside of a child context. I'm adding <code>ingredients</code>, which are a relational object to <code>recipe</code>.</p>
  <pre><code>lazy var childRecipe: Recipe = { return Recipe(context: self.childContext) }()
  let newIngredient = Ingredient(context: self.childContext)
  newIngredient.parent = childRecipe
  newIngredient.percentage = 0.0
  </code></pre>
  <p>I'm trying to figure out how to remove/delete an ingredient that's already connected to <code>childRecipe</code>. This is what I've tried, but it's not working.</p>
  <pre><code>var ingredients = getIngredients()
  let ingredientToDelete = ingredients[indexPath.row]
  self.childContext.delete(ingredientToDelete)
  </code></pre>
  <p>I believe this isn't working because the context isn't being saved. But my problem is that I'm not ready to save. I just want to remove the ingredient that's not needed.</p>
  <p>Thank you.</p>