How to Tear Down your Core Data Stack in iOS

Channel:
Subscribers:
29,600
Published on ● Video Link: https://www.youtube.com/watch?v=DAIUs1vPGwo



Category:
Guide
Duration: 17:33
681 views
5


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: 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 my article).

Enjoy!







Tags:
Objective-C
iOS
Core Data