Why? It's awful to copy-paste same code from project to project to create stack of CoreData. How? To create stack of CoreData you should do only 2 steps: Create configuration Create manager with configuration