How to Tear Down your Core Data Stack in iOS

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. The principles of course apply just as much to Mac Development.

You can read more in my companion article here: http://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 the same article).

Enjoy!

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Add your voice!