Helpful boilerplate code for Core Data projects