In this screencast I will show you how to tear down your Core Data Stack. Documentation on this topic is a little sketchy to say the least.
We'll create a new Master/Detail app and implement a button that will remove the store file and reset the entire stack - without nasty error messages or app crashes. The app will work on iOS 7.1 and iOS 6. I'm using Xcode 5.1 in this demo.
You can read more in my companion article here: pinkstone.co.uk/how-to-tear-down-your-core-data-stack/
There's also a GitHub project that shows the full app (find the link in my article).