Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources
Friday, July 29, 2011
Core Data Tutorial: Getting Started
Of all of the ways to persist data on the iPhone, Core Data is the best one to use for non-trivial data storage. It can reduce the memory overhead of your app, increase responsiveness, and save you from writing a lot of boilerplate code.
However, the learning curve for Core Data can be quite large. That's where this tutorial series comes in – the goal is to get you up to speed with the basics of Core Data quickly.
In this part of the series, we're going to create a visual data model for our objects, run a quick and dirty test to make sure it works, and then hook it up to a table view so we can see a list of our objects.
In the second part of the series, we're going to discuss how to import or preload existing data into Core Data so that we have some good default data when our app starts up.
In the final part of the series, we're going to discuss how we can optimize our app by using NSFetchedResultsController, to reduce memory overhead and improve response time.